git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2503964
)
s3:lib: add missing TALLOC_CTX parameter in call to lp_homedir_map()
author
Ralph Boehme
<slow@samba.org>
Mon, 4 Nov 2019 16:49:47 +0000
(17:49 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 27 Nov 2019 10:25:34 +0000
(10:25 +0000)
This seems to be dead (at least dying) code,
is WITH_NISPLUS_HOME ever defined?
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 8bafcbb83d7ec188f938052e04821836a040982e..ec2ff3c09b50dc765c12a1890d5ec4af6b6f079a 100644
(file)
--- a/
source3/lib/util.c
+++ b/
source3/lib/util.c
@@
-632,7
+632,7
@@
char *automount_lookup(TALLOC_CTX *ctx, const char *user_name)
{
char *value = NULL;
- char *nis_map = (char *)lp_homedir_map();
+ char *nis_map = (char *)lp_homedir_map(
talloc_tos()
);
char buffer[NIS_MAXATTRVAL + 1];
nis_result *result;