summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-19 07:01:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:09 -0500
commit511f1cef23beb297061f7c59ccc0e17a2275ea1b (patch)
treec226c1a18a85c3bdebcbca94896bb9f832805cbd
parent1e3147cf12913916cf29ccae1958e79a03a9e327 (diff)
downloadsamba-511f1cef23beb297061f7c59ccc0e17a2275ea1b.tar.gz
samba-511f1cef23beb297061f7c59ccc0e17a2275ea1b.tar.bz2
samba-511f1cef23beb297061f7c59ccc0e17a2275ea1b.zip
r15705: Fix bug number 3788. Thanks to Jeff Wright.
Volker (This used to be commit e4a2cb4b9143394a54ae1de91e59722c11a0b2e4)
-rw-r--r--source3/nsswitch/winbind_nss_aix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbind_nss_aix.c b/source3/nsswitch/winbind_nss_aix.c
index c5d98dad06..5b3aaeb8d7 100644
--- a/source3/nsswitch/winbind_nss_aix.c
+++ b/source3/nsswitch/winbind_nss_aix.c
@@ -360,6 +360,9 @@ static char *wb_aix_getgrset(char *user)
logit("getgrset '%s'\n", r_user);
+ ZERO_STRUCT(response);
+ ZERO_STRUCT(request);
+
STRCPY_RETNULL(request.data.username, r_user);
if (*user == WB_AIX_ENCODED) {