diff options
author | Andreas Schneider <asn@samba.org> | 2014-07-03 16:19:42 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-07-15 16:00:40 +0200 |
commit | 403693f228ec327ba935843cfd17aa7e4f62da63 (patch) | |
tree | 614a25b00b6a2445dfde327a9203d462dc595bdf | |
parent | 1839417bcc21391de9eceb406719c7281763f2a1 (diff) | |
download | samba-403693f228ec327ba935843cfd17aa7e4f62da63.tar.gz |
s3-winbind: Don't set the gecos field to NULL.
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>
-rw-r--r-- | source3/winbindd/nss_info_template.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/winbindd/nss_info_template.c b/source3/winbindd/nss_info_template.c index 5fdfd9bba33..de93803064d 100644 --- 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; |