diff options
author | Michael Adam <obnox@samba.org> | 2010-12-08 00:04:20 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-01-02 12:51:54 +0100 |
commit | 632e232fc482cd76553b88b84cd4479bfee0845a (patch) | |
tree | dd1921dff0877abefe50bec8527920f263ebe2a8 /source3/winbindd | |
parent | 58508c97260269ec47746adf81da34d9d0d8a1bb (diff) | |
download | samba-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.c | 6 |
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; } |