summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-08 00:04:20 +0100
committerMichael Adam <obnox@samba.org>2011-01-02 12:51:54 +0100
commit632e232fc482cd76553b88b84cd4479bfee0845a (patch)
treedd1921dff0877abefe50bec8527920f263ebe2a8 /source3/winbindd
parent58508c97260269ec47746adf81da34d9d0d8a1bb (diff)
downloadsamba-632e232fc482cd76553b88b84cd4479bfee0845a.tar.gz
samba-632e232fc482cd76553b88b84cd4479bfee0845a.tar.bz2
samba-632e232fc482cd76553b88b84cd4479bfee0845a.zip
s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.
Call verify_idpool() instead.
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 0b19cf9272..cb5f67d913 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -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;
}