Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
fa043b06
Commit
fa043b06
authored
19 years ago
by
Hans Leidekker
Committed by
Alexandre Julliard
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Don't rely on ldap structure when headers are not available.
parent
c3cd8094
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/wldap32/compare.c
+6
-6
6 additions, 6 deletions
dlls/wldap32/compare.c
dlls/wldap32/winldap_private.h
+4
-4
4 additions, 4 deletions
dlls/wldap32/winldap_private.h
with
10 additions
and
10 deletions
dlls/wldap32/compare.c
+
6
−
6
View file @
fa043b06
...
...
@@ -115,7 +115,7 @@ exit:
}
ULONG
ldap_compare_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
struct
berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
struct
WLDAP32_
berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -166,7 +166,7 @@ exit:
}
ULONG
ldap_compare_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
struct
berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
struct
WLDAP32_
berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -209,7 +209,7 @@ ULONG ldap_compare_extW( WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR attr, PWCHAR value,
if
(
!
clientctrlsU
)
goto
exit
;
}
ret
=
ldap_compare_ext
(
ld
,
dn
?
dnU
:
""
,
attrU
,
data
?
data
:
&
berval
,
ret
=
ldap_compare_ext
(
ld
,
dn
?
dnU
:
""
,
attrU
,
data
?
(
struct
berval
*
)
data
:
&
berval
,
serverctrlsU
,
clientctrlsU
,
(
int
*
)
message
);
exit:
...
...
@@ -224,7 +224,7 @@ exit:
}
ULONG
ldap_compare_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
struct
berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
struct
WLDAP32_
berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
...
...
@@ -274,7 +274,7 @@ exit:
}
ULONG
ldap_compare_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
struct
berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
struct
WLDAP32_
berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
...
...
@@ -314,7 +314,7 @@ ULONG ldap_compare_ext_sW( WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR attr, PWCHAR valu
if
(
!
clientctrlsU
)
goto
exit
;
}
ret
=
ldap_compare_ext_s
(
ld
,
dn
?
dnU
:
""
,
attr
?
attrU
:
""
,
data
?
data
:
&
berval
,
ret
=
ldap_compare_ext_s
(
ld
,
dn
?
dnU
:
""
,
attr
?
attrU
:
""
,
data
?
(
struct
berval
*
)
data
:
&
berval
,
serverctrlsU
,
clientctrlsU
);
exit:
...
...
This diff is collapsed.
Click to expand it.
dlls/wldap32/winldap_private.h
+
4
−
4
View file @
fa043b06
...
...
@@ -122,10 +122,10 @@ ULONG ldap_bind_sA(WLDAP32_LDAP*,PCHAR,PCHAR,ULONG);
ULONG
ldap_bind_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
ULONG
);
ULONG
ldap_compareA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
);
ULONG
ldap_compareW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
);
ULONG
ldap_compare_extA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
,
struct
berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
,
ULONG
*
);
ULONG
ldap_compare_extW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
,
struct
berval
*
,
PLDAPControlW
*
,
PLDAPControlW
*
,
ULONG
*
);
ULONG
ldap_compare_ext_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
,
struct
berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
);
ULONG
ldap_compare_ext_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
,
struct
berval
*
,
PLDAPControlW
*
,
PLDAPControlW
*
);
ULONG
ldap_compare_extA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
,
struct
WLDAP32_
berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
,
ULONG
*
);
ULONG
ldap_compare_extW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
,
struct
WLDAP32_
berval
*
,
PLDAPControlW
*
,
PLDAPControlW
*
,
ULONG
*
);
ULONG
ldap_compare_ext_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
,
struct
WLDAP32_
berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
);
ULONG
ldap_compare_ext_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
,
struct
WLDAP32_
berval
*
,
PLDAPControlW
*
,
PLDAPControlW
*
);
ULONG
ldap_compare_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
);
ULONG
ldap_compare_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
);
PCHAR
ldap_err2stringA
(
ULONG
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment