git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8ee56
)
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
author
Michael Adam
<obnox@samba.org>
Thu, 17 Jun 2010 17:17:48 +0000
(19:17 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jun 2010 10:22:19 +0000
(12:22 +0200)
The alloc subsystem is now subordinate to the idmap system.
source3/winbindd/idmap_ldap.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_ldap.c
b/source3/winbindd/idmap_ldap.c
index a90e920a86005f46bc8ca11291663a54fc4ba914..24defc99c48eaa25d02c273133638f8d5302d275 100644
(file)
--- a/
source3/winbindd/idmap_ldap.c
+++ b/
source3/winbindd/idmap_ldap.c
@@
-595,6
+595,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;