Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quanah Gibson-Mount
OpenLDAP
Commits
b7607bf2
Commit
b7607bf2
authored
Dec 27, 2000
by
Kurt Zeilenga
Browse files
ITS#884: GSSAPI interoperabity with ActiveDirectory
Improve interoperability when of scred is present but empty.
parent
a376cb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/cyrus.c
View file @
b7607bf2
...
...
@@ -564,7 +564,7 @@ ldap_int_sasl_bind(
}
if
(
rc
!=
LDAP_SUCCESS
&&
rc
!=
LDAP_SASL_BIND_IN_PROGRESS
)
{
if
(
scred
)
{
if
(
scred
&&
scred
->
bv_len
)
{
/* and server provided us with data? */
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
...
...
@@ -576,7 +576,7 @@ ldap_int_sasl_bind(
if
(
rc
==
LDAP_SUCCESS
&&
saslrc
==
SASL_OK
)
{
/* we're done, no need to step */
if
(
scred
)
{
if
(
scred
&&
scred
->
bv_len
)
{
/* but server provided us with data! */
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment