diff options
author | Michael Adam <obnox@samba.org> | 2010-06-17 19:17:48 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-14 02:10:53 +0200 |
commit | 523b94f180a8390788a3a7ce3e10ff94f350ac98 (patch) | |
tree | 1b52d1b517f38b1d439d6f41b9780acd5e295778 /source3/winbindd | |
parent | c85426186704316e64153b938c85582e6d0ebb17 (diff) | |
download | samba-523b94f180a8390788a3a7ce3e10ff94f350ac98.tar.gz samba-523b94f180a8390788a3a7ce3e10ff94f350ac98.tar.bz2 samba-523b94f180a8390788a3a7ce3e10ff94f350ac98.zip |
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
The alloc subsystem is now subordinate to the idmap system.
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_ldap.c | 7 |
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; |