mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
fix previous commit
This commit is contained in:
parent
13d25a675f
commit
e17be551a4
@ -229,7 +229,7 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
||||
}
|
||||
|
||||
/* Internal searches are privileged and shared. So is root. */
|
||||
if ( op->o_do_not_cache || be_isroot( li->be, &op->o_ndn ) ) {
|
||||
if ( op->o_do_not_cache || be_isroot_dn( li->be, &op->o_ndn ) ) {
|
||||
lc_curr.local_dn = li->be->be_rootndn;
|
||||
lc_curr.conn = NULL;
|
||||
is_priv = 1;
|
||||
|
@ -146,7 +146,7 @@ ldap_back_db_init(
|
||||
|
||||
li->be = be;
|
||||
be->be_private = li;
|
||||
SLAP_DBFLAGS(be) |= SLAP_BFLAG_NOLASTMOD;
|
||||
SLAP_DBFLAGS(be) |= SLAP_DBFLAG_NOLASTMOD;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user