mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
ITS#6837 olcChainDatabase inherits from olcLDAPConfig
This commit is contained in:
parent
6005349cbc
commit
a60c82b3ba
2 changed files with 7 additions and 3 deletions
|
|
@ -1269,7 +1269,7 @@ static ConfigOCs chainocs[] = {
|
||||||
{ "( OLcfgOvOc:3.2 "
|
{ "( OLcfgOvOc:3.2 "
|
||||||
"NAME 'olcChainDatabase' "
|
"NAME 'olcChainDatabase' "
|
||||||
"DESC 'Chain remote server configuration' "
|
"DESC 'Chain remote server configuration' "
|
||||||
"AUXILIARY )",
|
"SUP olcLDAPConfig )",
|
||||||
Cft_Misc, olcDatabaseDummy, chain_ldadd },
|
Cft_Misc, olcDatabaseDummy, chain_ldadd },
|
||||||
{ NULL, 0, NULL }
|
{ NULL, 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,11 @@ ldap_back_initialize( BackendInfo *bi )
|
||||||
|
|
||||||
bi->bi_extra = (void *)&ldap_extra;
|
bi->bi_extra = (void *)&ldap_extra;
|
||||||
|
|
||||||
|
rc = ldap_back_init_cf( bi );
|
||||||
|
if ( rc ) {
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
rc = chain_initialize();
|
rc = chain_initialize();
|
||||||
if ( rc ) {
|
if ( rc ) {
|
||||||
return rc;
|
return rc;
|
||||||
|
|
@ -116,8 +121,7 @@ ldap_back_initialize( BackendInfo *bi )
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
return rc;
|
||||||
return ldap_back_init_cf( bi );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue