mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
do not assume sr_err == LDAP_SUCCESS; cleanup
This commit is contained in:
parent
3ae8934f84
commit
55f88b5b49
1 changed files with 2 additions and 2 deletions
|
|
@ -43,10 +43,10 @@ bdb_bind( Operation *op, SlapReply *rs )
|
|||
switch ( be_rootdn_bind( op, NULL ) ) {
|
||||
case LDAP_SUCCESS:
|
||||
/* frontend will send result */
|
||||
return rs->sr_err;
|
||||
return rs->sr_err = LDAP_SUCCESS;
|
||||
|
||||
default:
|
||||
/* give the database a chanche */
|
||||
/* give the database a chance */
|
||||
/* NOTE: this behavior departs from that of other backends,
|
||||
* since the others, in case of password checking failure
|
||||
* do not give the database a chance. If an entry with
|
||||
|
|
|
|||
Loading…
Reference in a new issue