li->be didn't work; since it seems to be unnecessary, it's been removed; please check

This commit is contained in:
Pierangelo Masarati 2004-06-19 15:16:51 +00:00
parent 344edca731
commit e6065fb20d
3 changed files with 2 additions and 4 deletions

View File

@ -96,7 +96,6 @@ struct ldapauth {
};
struct ldapinfo {
struct slap_backend_db *be;
char *url;
LDAPURLDesc *lud;
struct ldapauth acl_la;

View File

@ -230,8 +230,8 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
}
/* Internal searches are privileged and shared. So is root. */
if ( op->o_do_not_cache || be_isroot_dn( li->be, &op->o_ndn ) ) {
lc_curr.local_dn = li->be->be_rootndn;
if ( op->o_do_not_cache || be_isroot( op ) ) {
lc_curr.local_dn = op->o_bd->be_rootndn;
lc_curr.conn = NULL;
is_priv = 1;

View File

@ -153,7 +153,6 @@ ldap_back_db_init(
ldap_back_map_init( &li->rwmap.rwm_oc, &mapping );
ldap_back_map_init( &li->rwmap.rwm_at, &mapping );
li->be = be;
be->be_private = li;
SLAP_DBFLAGS(be) |= SLAP_DBFLAG_NOLASTMOD;