Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
929e4eb1
Commit
929e4eb1
authored
Aug 18, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Aug 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Report success when turning off LDAP_OPT_(ENCRYPT|ROOTDSE_CACHE|SIGN).
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55459
parent
afb00f7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
option.c
dlls/wldap32/option.c
+9
-6
No files found.
dlls/wldap32/option.c
View file @
929e4eb1
...
@@ -309,11 +309,14 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
...
@@ -309,11 +309,14 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_AUTO_RECONNECT
:
case
WLDAP32_LDAP_OPT_AUTO_RECONNECT
:
case
WLDAP32_LDAP_OPT_DEREF
:
case
WLDAP32_LDAP_OPT_DEREF
:
case
WLDAP32_LDAP_OPT_DESC
:
case
WLDAP32_LDAP_OPT_DESC
:
case
WLDAP32_LDAP_OPT_ENCRYPT
:
case
WLDAP32_LDAP_OPT_ERROR_NUMBER
:
case
WLDAP32_LDAP_OPT_ERROR_NUMBER
:
case
WLDAP32_LDAP_OPT_PROTOCOL_VERSION
:
case
WLDAP32_LDAP_OPT_PROTOCOL_VERSION
:
case
WLDAP32_LDAP_OPT_REFERRALS
:
case
WLDAP32_LDAP_OPT_REFERRALS
:
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SERVER_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_SERVER_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_SIGN
:
case
WLDAP32_LDAP_OPT_SIZELIMIT
:
case
WLDAP32_LDAP_OPT_SIZELIMIT
:
case
WLDAP32_LDAP_OPT_SSL
:
case
WLDAP32_LDAP_OPT_SSL
:
case
WLDAP32_LDAP_OPT_TIMELIMIT
:
case
WLDAP32_LDAP_OPT_TIMELIMIT
:
...
@@ -336,7 +339,6 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
...
@@ -336,7 +339,6 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_AREC_EXCLUSIVE
:
case
WLDAP32_LDAP_OPT_AREC_EXCLUSIVE
:
case
WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_DNSDOMAIN_NAME
:
case
WLDAP32_LDAP_OPT_DNSDOMAIN_NAME
:
case
WLDAP32_LDAP_OPT_ENCRYPT
:
case
WLDAP32_LDAP_OPT_ERROR_STRING
:
case
WLDAP32_LDAP_OPT_ERROR_STRING
:
case
WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND
:
case
WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND
:
case
WLDAP32_LDAP_OPT_GETDSNAME_FLAGS
:
case
WLDAP32_LDAP_OPT_GETDSNAME_FLAGS
:
...
@@ -348,13 +350,11 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
...
@@ -348,13 +350,11 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
case
WLDAP32_LDAP_OPT_SEND_TIMEOUT
:
case
WLDAP32_LDAP_OPT_SEND_TIMEOUT
:
case
WLDAP32_LDAP_OPT_SERVER_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_EXT_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_EXT_ERROR
:
case
WLDAP32_LDAP_OPT_SIGN
:
case
WLDAP32_LDAP_OPT_SSL_INFO
:
case
WLDAP32_LDAP_OPT_SSL_INFO
:
case
WLDAP32_LDAP_OPT_SSPI_FLAGS
:
case
WLDAP32_LDAP_OPT_SSPI_FLAGS
:
case
WLDAP32_LDAP_OPT_TCP_KEEPALIVE
:
case
WLDAP32_LDAP_OPT_TCP_KEEPALIVE
:
...
@@ -554,10 +554,15 @@ ULONG CDECL ldap_set_optionW( LDAP *ld, int option, void *value )
...
@@ -554,10 +554,15 @@ ULONG CDECL ldap_set_optionW( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_API_INFO
:
case
WLDAP32_LDAP_OPT_API_INFO
:
return
WLDAP32_LDAP_UNWILLING_TO_PERFORM
;
return
WLDAP32_LDAP_UNWILLING_TO_PERFORM
;
case
WLDAP32_LDAP_OPT_ENCRYPT
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SIGN
:
if
(
value
==
WLDAP32_LDAP_OPT_OFF
||
(
value
!=
WLDAP32_LDAP_OPT_ON
&&
*
(
ULONG
*
)
value
==
0
))
return
WLDAP32_LDAP_SUCCESS
;
/* fall through */
case
WLDAP32_LDAP_OPT_AREC_EXCLUSIVE
:
case
WLDAP32_LDAP_OPT_AREC_EXCLUSIVE
:
case
WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE
:
case
WLDAP32_LDAP_OPT_DNSDOMAIN_NAME
:
case
WLDAP32_LDAP_OPT_DNSDOMAIN_NAME
:
case
WLDAP32_LDAP_OPT_ENCRYPT
:
case
WLDAP32_LDAP_OPT_ERROR_STRING
:
case
WLDAP32_LDAP_OPT_ERROR_STRING
:
case
WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND
:
case
WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND
:
case
WLDAP32_LDAP_OPT_GETDSNAME_FLAGS
:
case
WLDAP32_LDAP_OPT_GETDSNAME_FLAGS
:
...
@@ -569,13 +574,11 @@ ULONG CDECL ldap_set_optionW( LDAP *ld, int option, void *value )
...
@@ -569,13 +574,11 @@ ULONG CDECL ldap_set_optionW( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
case
WLDAP32_LDAP_OPT_SEND_TIMEOUT
:
case
WLDAP32_LDAP_OPT_SEND_TIMEOUT
:
case
WLDAP32_LDAP_OPT_SERVER_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_EXT_ERROR
:
case
WLDAP32_LDAP_OPT_SERVER_EXT_ERROR
:
case
WLDAP32_LDAP_OPT_SIGN
:
case
WLDAP32_LDAP_OPT_SSL_INFO
:
case
WLDAP32_LDAP_OPT_SSL_INFO
:
case
WLDAP32_LDAP_OPT_SSPI_FLAGS
:
case
WLDAP32_LDAP_OPT_SSPI_FLAGS
:
case
WLDAP32_LDAP_OPT_TCP_KEEPALIVE
:
case
WLDAP32_LDAP_OPT_TCP_KEEPALIVE
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment