mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
li->be didn't work; since it seems to be unnecessary, it's been removed; please check
This commit is contained in:
parent
344edca731
commit
e6065fb20d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user