mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Add slap_overinfo oi_origdb field to point to original BackendDB
This commit is contained in:
parent
ada7954667
commit
62f7c85be4
@ -868,6 +868,7 @@ overlay_config( BackendDB *be, const char *ov )
|
||||
oi = ch_malloc( sizeof( slap_overinfo ) );
|
||||
oi->oi_orig = be->bd_info;
|
||||
oi->oi_bi = *be->bd_info;
|
||||
oi->oi_origdb = be;
|
||||
|
||||
/* NOTE: the first time a global overlay is configured,
|
||||
* frontendDB gets this flag; it is used later by overlays
|
||||
|
@ -2274,6 +2274,7 @@ typedef struct slap_overinst {
|
||||
typedef struct slap_overinfo {
|
||||
BackendInfo oi_bi;
|
||||
BackendInfo *oi_orig;
|
||||
BackendDB *oi_origdb;
|
||||
struct slap_overinst *oi_list;
|
||||
} slap_overinfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user