git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.
[amitay/samba.git]
/
source3
/
winbindd
/
idmap_ldap.c
diff --git
a/source3/winbindd/idmap_ldap.c
b/source3/winbindd/idmap_ldap.c
index 4f1dc8c7f4e9fde4258001f593ddac7a43b0f805..aeeb2e87d0f874c838c7474e0916e2ea8290ca76 100644
(file)
--- a/
source3/winbindd/idmap_ldap.c
+++ b/
source3/winbindd/idmap_ldap.c
@@
-471,7
+471,7
@@
static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom)
tmp = lp_parm_const_string(-1, config_option, "ldap_base_dn", NULL);
if ( ! tmp || ! *tmp) {
tmp = lp_parm_const_string(-1, config_option, "ldap_base_dn", NULL);
if ( ! tmp || ! *tmp) {
- tmp = lp_ldap_idmap_suffix();
+ tmp = lp_ldap_idmap_suffix(
talloc_tos()
);
if ( ! tmp) {
DEBUG(1, ("ERROR: missing idmap ldap suffix\n"));
ret = NT_STATUS_UNSUCCESSFUL;
if ( ! tmp) {
DEBUG(1, ("ERROR: missing idmap ldap suffix\n"));
ret = NT_STATUS_UNSUCCESSFUL;