mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#884: GSSAPI interoperabity with ActiveDirectory
Improve interoperability when of scred is present but empty.
This commit is contained in:
parent
a376cb1002
commit
b7607bf237
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue