summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_ldap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 9aa1925bc0..95c1d2c6e0 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -593,6 +593,13 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
dom->private_data = ctx;
+ ret = idmap_ldap_alloc_init(dom, params);
+ if (!NT_STATUS_IS_OK(ret)) {
+ DEBUG(1, ("idmap_ldap_db_init: Failed to initialize alloc "
+ "subsystem: %s\n", nt_errstr(ret)));
+ goto done;
+ }
+
talloc_free(config_option);
return NT_STATUS_OK;