From e17be551a470ce31c517b4958c996987d557fdb8 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 6 Apr 2004 08:47:59 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/back-ldap/bind.c | 2 +- servers/slapd/back-ldap/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5