Skip to content
Snippets Groups Projects
Commit e6065fb2 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

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

parent 344edca7
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,6 @@ struct ldapauth {
};
struct ldapinfo {
struct slap_backend_db *be;
char *url;
LDAPURLDesc *lud;
struct ldapauth acl_la;
......
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment