Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
5d281b96
Commit
5d281b96
authored
Jun 26, 2000
by
Kurt Zeilenga
Browse files
Disallow kbind over LDAPv3
parent
7f24a010
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/libldap/kbind.c
View file @
5d281b96
...
...
@@ -66,6 +66,11 @@ ldap_kerberos_bind1( LDAP *ld, LDAP_CONST char *dn )
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_kerberos_bind1
\n
"
,
0
,
0
,
0
);
if
(
ld
->
ld_version
>
LDAP_VERSION2
)
{
ld
->
ld_errno
=
LDAP_NOT_SUPPORTED
;
return
-
1
;
}
if
(
dn
==
NULL
)
dn
=
""
;
...
...
@@ -144,6 +149,11 @@ ldap_kerberos_bind2( LDAP *ld, LDAP_CONST char *dn )
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_kerberos_bind2
\n
"
,
0
,
0
,
0
);
if
(
ld
->
ld_version
>
LDAP_VERSION2
)
{
ld
->
ld_errno
=
LDAP_NOT_SUPPORTED
;
return
-
1
;
}
if
(
dn
==
NULL
)
dn
=
""
;
...
...
Write
Preview
Supports
Markdown
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