Skip to content
Snippets Groups Projects
Commit 6d038f7c authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6661

parent 9da1e112
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapd acl parsing overflow (ITS#6611)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577)
Fixed slapd-ndb to honor rootpw setting (ITS#6661)
Fixed slapd-meta anon retry with failed auth method (ITS#6643)
Fixed slapd-null back-config support (ITS#6624)
Fixed slapo-pcache callback freeing (ITS#6640)
......
......@@ -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
......
......@@ -43,11 +43,13 @@ ndb_back_bind( Operation *op, SlapReply *rs )
/* allow noauth binds */
switch ( be_rootdn_bind( op, NULL ) ) {
case SLAP_CB_CONTINUE:
break;
case LDAP_SUCCESS:
/* frontend will send result */
return rs->sr_err = LDAP_SUCCESS;
default:
return rs->sr_err;
/* give the database a chance */
break;
}
/* Get our NDB handle */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment