git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c854261
)
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>
Sat, 14 Aug 2010 00:10:53 +0000
(
02:10
+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 9aa1925bc0dff50bf56d28f34390a786892b8692..95c1d2c6e01906603eed97f2747accc0d9a6baef 100644
(file)
--- 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;