ITS#6837 olcChainDatabase inherits from olcLDAPConfig

This commit is contained in:
Howard Chu 2011-02-19 02:49:18 +00:00
parent 6005349cbc
commit a60c82b3ba
2 changed files with 7 additions and 3 deletions

View File

@ -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 }
};

View File

@ -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