git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1839417
)
s3-winbind: Don't set the gecos field to NULL.
author
Andreas Schneider
<asn@samba.org>
Thu, 3 Jul 2014 14:19:42 +0000
(16:19 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 15 Jul 2014 14:00:40 +0000
(16:00 +0200)
The value is loaded from the cache anyway. So it will be set to NULL if
it is not available.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10440
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/winbindd/nss_info_template.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/nss_info_template.c
b/source3/winbindd/nss_info_template.c
index 5fdfd9bba33f49d789552fd1060481ce8a0c26bc..de93803064d0013c2f74998154d0c872dafbe797 100644
(file)
--- a/
source3/winbindd/nss_info_template.c
+++ b/
source3/winbindd/nss_info_template.c
@@
-48,7
+48,6
@@
static NTSTATUS nss_template_get_info( struct nss_domain_entry *e,
username */
*homedir = talloc_strdup( ctx, lp_template_homedir() );
*shell = talloc_strdup( ctx, lp_template_shell() );
- *gecos = NULL;
if ( !*homedir || !*shell ) {
return NT_STATUS_NO_MEMORY;