1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.

Call verify_idpool() instead.
This commit is contained in:
Michael Adam 2010-12-08 00:04:20 +01:00
parent 58508c9726
commit 632e232fc4

View File

@ -631,10 +631,10 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
dom->private_data = ctx;
ret = idmap_ldap_alloc_init(dom, params);
ret = verify_idpool(dom);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(1, ("idmap_ldap_db_init: Failed to initialize alloc "
"subsystem: %s\n", nt_errstr(ret)));
DEBUG(1, ("idmap_ldap_db_init: failed to verify ID pool (%s)\n",
nt_errstr(ret)));
goto done;
}