el.el_type = LIMBO_DATABASE;
- el.el_be = be;
+ el.el_be = be->bd_self;
el.el_ndn = ndn;
for ( elpp = &mi->mi_entry_limbo;
}
be->bd_info = bi;
+ be->bd_self = be;
be->be_def_limit = frontendDB->be_def_limit;
be->be_dfltaccess = frontendDB->be_dfltaccess;
{
/* data */
frontendDB = &slap_frontendDB;
+ frontendDB->bd_self = frontendDB;
/* ACLs */
frontendDB->be_dfltaccess = ACL_READ;
struct BackendDB {
BackendInfo *bd_info; /* pointer to shared backend info */
+ struct BackendDB *bd_self; /* pointer to this struct */
/* fields in this structure (and routines acting on this structure)
should be renamed from be_ to bd_ */