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
3bdf2ad6
Commit
3bdf2ad6
authored
Mar 29, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Implement LDAP_OPT_REFERRAL_HOP_LIMIT.
parent
b89b7b9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
option.c
dlls/wldap32/option.c
+7
-4
No files found.
dlls/wldap32/option.c
View file @
3bdf2ad6
...
...
@@ -96,6 +96,9 @@ ULONG CDECL ldap_get_optionA( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_TIMELIMIT
:
return
ldap_get_optionW
(
ld
,
option
,
value
);
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
return
ldap_get_optionW
(
ld
,
LDAP_OPT_REFHOPLIMIT
,
value
);
case
WLDAP32_LDAP_OPT_CACHE_ENABLE
:
case
WLDAP32_LDAP_OPT_CACHE_FN_PTRS
:
case
WLDAP32_LDAP_OPT_CACHE_STRATEGY
:
...
...
@@ -122,7 +125,6 @@ ULONG CDECL ldap_get_optionA( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
...
...
@@ -215,6 +217,9 @@ ULONG CDECL ldap_get_optionW( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_TIMELIMIT
:
return
map_error
(
ldap_get_option
(
CTX
(
ld
),
option
,
value
)
);
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
return
map_error
(
ldap_get_option
(
CTX
(
ld
),
LDAP_OPT_REFHOPLIMIT
,
value
)
);
case
WLDAP32_LDAP_OPT_CACHE_ENABLE
:
case
WLDAP32_LDAP_OPT_CACHE_FN_PTRS
:
case
WLDAP32_LDAP_OPT_CACHE_STRATEGY
:
...
...
@@ -241,7 +246,6 @@ ULONG CDECL ldap_get_optionW( LDAP *ld, int option, void *value )
case
WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
:
case
WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
:
case
WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
:
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
case
WLDAP32_LDAP_OPT_ROOTDSE_CACHE
:
case
WLDAP32_LDAP_OPT_SASL_METHOD
:
case
WLDAP32_LDAP_OPT_SECURITY_CONTEXT
:
...
...
@@ -459,8 +463,7 @@ ULONG CDECL ldap_set_optionW( LDAP *ld, int option, void *value )
return
map_error
(
ldap_set_option
(
CTX
(
ld
),
option
,
value
)
);
}
case
WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
:
FIXME
(
"ignoring referral hop limit
\n
"
);
return
WLDAP32_LDAP_SUCCESS
;
return
map_error
(
ldap_set_option
(
CTX
(
ld
),
LDAP_OPT_REFHOPLIMIT
,
value
)
);
case
WLDAP32_LDAP_OPT_SERVER_CERTIFICATE
:
CERT_CALLBACK
(
ld
)
=
value
;
...
...
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