mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
fix previous commit
This commit is contained in:
parent
13d25a675f
commit
e17be551a4
2 changed files with 2 additions and 2 deletions
|
|
@ -229,7 +229,7 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Internal searches are privileged and shared. So is root. */
|
/* 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.local_dn = li->be->be_rootndn;
|
||||||
lc_curr.conn = NULL;
|
lc_curr.conn = NULL;
|
||||||
is_priv = 1;
|
is_priv = 1;
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ ldap_back_db_init(
|
||||||
|
|
||||||
li->be = be;
|
li->be = be;
|
||||||
be->be_private = li;
|
be->be_private = li;
|
||||||
SLAP_DBFLAGS(be) |= SLAP_BFLAG_NOLASTMOD;
|
SLAP_DBFLAGS(be) |= SLAP_DBFLAG_NOLASTMOD;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue