From: Pierangelo Masarati Date: Tue, 6 Apr 2004 08:47:59 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e17be551a470ce31c517b4958c996987d557fdb8;p=openldap fix previous commit --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 76d73abfb7..26aa3fe5b5 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -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; diff --git a/servers/slapd/back-ldap/init.c b/servers/slapd/back-ldap/init.c index e9a6719079..45c24ddfb2 100644 --- a/servers/slapd/back-ldap/init.c +++ b/servers/slapd/back-ldap/init.c @@ -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; }