summaryrefslogtreecommitdiff
path: root/source/nsswitch/idmap_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch/idmap_ldap.c')
-rw-r--r--source/nsswitch/idmap_ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/idmap_ldap.c b/source/nsswitch/idmap_ldap.c
index ecd549f6860..dbec94f5599 100644
--- a/source/nsswitch/idmap_ldap.c
+++ b/source/nsswitch/idmap_ldap.c
@@ -818,6 +818,7 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom)
talloc_set_destructor(ctx, idmap_ldap_close_destructor);
dom->private_data = ctx;
+ dom->initialized = True;
talloc_free(config_option);
return NT_STATUS_OK;