mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
fix previous commit (ITS#6661)
This commit is contained in:
parent
e04ff8fbf1
commit
3ae8934f84
1 changed files with 10 additions and 1 deletions
|
|
@ -43,7 +43,16 @@ ndb_back_bind( Operation *op, SlapReply *rs )
|
|||
|
||||
/* allow noauth binds */
|
||||
rs->sr_err = be_rootdn_bind( op, NULL );
|
||||
if ( rs->sr_err != SLAP_CB_CONTINUE ) {
|
||||
switch ( rs->sr_err ) {
|
||||
case SLAP_CB_CONTINUE:
|
||||
break;
|
||||
|
||||
case LDAP_INVALID_CREDENTIALS:
|
||||
send_ldap_result( op, rs );
|
||||
/* fallthru */
|
||||
|
||||
case LDAP_SUCCESS:
|
||||
/* frontend will send result */
|
||||
return rs->sr_err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue