mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#6837 olcChainDatabase inherits from olcLDAPConfig
This commit is contained in:
parent
6005349cbc
commit
a60c82b3ba
@ -1269,7 +1269,7 @@ static ConfigOCs chainocs[] = {
|
||||
{ "( OLcfgOvOc:3.2 "
|
||||
"NAME 'olcChainDatabase' "
|
||||
"DESC 'Chain remote server configuration' "
|
||||
"AUXILIARY )",
|
||||
"SUP olcLDAPConfig )",
|
||||
Cft_Misc, olcDatabaseDummy, chain_ldadd },
|
||||
{ NULL, 0, NULL }
|
||||
};
|
||||
|
@ -100,6 +100,11 @@ ldap_back_initialize( BackendInfo *bi )
|
||||
|
||||
bi->bi_extra = (void *)&ldap_extra;
|
||||
|
||||
rc = ldap_back_init_cf( bi );
|
||||
if ( rc ) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
rc = chain_initialize();
|
||||
if ( rc ) {
|
||||
return rc;
|
||||
@ -116,8 +121,7 @@ ldap_back_initialize( BackendInfo *bi )
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
return ldap_back_init_cf( bi );
|
||||
return rc;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user