Support rootdn

This commit is contained in:
Hallvard Furuseth 2006-04-27 16:12:59 +00:00
parent a242808f7e
commit 2f04f61dc7
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ is surely the most useful part of
.br
- Updates return success (unless readonly is on) but do nothing.
.br
- Binds fail unless the database option "bind on" is given.
- Binds other than as the rootdn fail unless the database option "bind
on" is given.
.br
- The
.BR slapadd (8)

View File

@ -38,7 +38,7 @@ null_back_bind( Operation *op, SlapReply *rs )
{
struct null_info *ni = (struct null_info *) op->o_bd->be_private;
if ( ni->ni_bind_allowed ) {
if ( ni->ni_bind_allowed || be_isroot_pw( op ) ) {
/* front end will send result on success (0) */
return LDAP_SUCCESS;
}