fix previous commit

This commit is contained in:
Pierangelo Masarati 2004-04-06 08:47:59 +00:00
parent 13d25a675f
commit e17be551a4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}