Commit 6d038f7c authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6661

parent 9da1e112
...@@ -9,6 +9,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -9,6 +9,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapd acl parsing overflow (ITS#6611) Fixed slapd acl parsing overflow (ITS#6611)
Fixed slapd modify to return actual error (ITS#6581) Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577) 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-meta anon retry with failed auth method (ITS#6643)
Fixed slapd-null back-config support (ITS#6624) Fixed slapd-null back-config support (ITS#6624)
Fixed slapo-pcache callback freeing (ITS#6640) Fixed slapo-pcache callback freeing (ITS#6640)
......
...@@ -43,10 +43,10 @@ bdb_bind( Operation *op, SlapReply *rs ) ...@@ -43,10 +43,10 @@ bdb_bind( Operation *op, SlapReply *rs )
switch ( be_rootdn_bind( op, NULL ) ) { switch ( be_rootdn_bind( op, NULL ) ) {
case LDAP_SUCCESS: case LDAP_SUCCESS:
/* frontend will send result */ /* frontend will send result */
return rs->sr_err; return rs->sr_err = LDAP_SUCCESS;
default: default:
/* give the database a chanche */ /* give the database a chance */
/* NOTE: this behavior departs from that of other backends, /* NOTE: this behavior departs from that of other backends,
* since the others, in case of password checking failure * since the others, in case of password checking failure
* do not give the database a chance. If an entry with * do not give the database a chance. If an entry with
......
...@@ -43,11 +43,13 @@ ndb_back_bind( Operation *op, SlapReply *rs ) ...@@ -43,11 +43,13 @@ ndb_back_bind( Operation *op, SlapReply *rs )
/* allow noauth binds */ /* allow noauth binds */
switch ( be_rootdn_bind( op, NULL ) ) { switch ( be_rootdn_bind( op, NULL ) ) {
case SLAP_CB_CONTINUE: case LDAP_SUCCESS:
break; /* frontend will send result */
return rs->sr_err = LDAP_SUCCESS;
default: default:
return rs->sr_err; /* give the database a chance */
break;
} }
/* Get our NDB handle */ /* Get our NDB handle */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment