mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Support rootdn
This commit is contained in:
parent
a242808f7e
commit
2f04f61dc7
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user