]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 08:47:59 +0000 (08:47 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 08:47:59 +0000 (08:47 +0000)
servers/slapd/back-ldap/bind.c
servers/slapd/back-ldap/init.c

index 76d73abfb7b829449b3d65b7bf24cd19040ca875..26aa3fe5b552cecb89fcf5b1a05cb45c0327e89f 100644 (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;
index e9a671907974b6310e4c8bfdd51e3cb4d0adc749..45c24ddfb28a7665d85ad7719fc38c4108067dd4 100644 (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;
 }