Skip to content
Snippets Groups Projects
Commit f2ee179c authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3291 delay use of slap_known_controls until all configuration is done

parent 91033d65
No related branches found
No related tags found
No related merge requests found
......@@ -46,14 +46,21 @@ int init_module(int argc, char *argv[]) {
#endif /* SLAPD_LDAP */
static int
ldap_back_open(
BackendInfo *bi
)
{
bi->bi_controls = slap_known_controls;
return 0;
}
int
ldap_back_initialize(
BackendInfo *bi
)
{
bi->bi_controls = slap_known_controls;
bi->bi_open = 0;
bi->bi_open = ldap_back_open;
bi->bi_config = 0;
bi->bi_close = 0;
bi->bi_destroy = 0;
......
......@@ -42,14 +42,21 @@ init_module( int argc, char *argv[] ) {
#endif /* SLAPD_META */
static int
meta_back_open(
BackendInfo *bi
)
{
bi->bi_controls = slap_known_controls;
return 0;
}
int
meta_back_initialize(
BackendInfo *bi
)
{
bi->bi_controls = slap_known_controls;
bi->bi_open = 0;
bi->bi_open = meta_back_open;
bi->bi_config = 0;
bi->bi_close = 0;
bi->bi_destroy = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment