diff --git a/source3/nsswitch/winbind_nss_aix.c b/source3/nsswitch/winbind_nss_aix.c index c5d98dad067..5b3aaeb8d77 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) {