1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r11280: BUG 3201: make sure request structure is cleared prior to sending the request to winbindd (prevents the WB_RECURSE flags from accidentially getting set

(This used to be commit 8c63d6d8a7)
This commit is contained in:
Gerald Carter 2005-10-24 16:55:26 +00:00 committed by Gerald (Jerry) Carter
parent 9e7aa2fa6a
commit 844290e9a0

View File

@ -117,6 +117,7 @@ static BOOL wbinfo_get_usergroups(char *user)
NSS_STATUS result;
int i;
ZERO_STRUCT(request);
ZERO_STRUCT(response);
/* Send request */
@ -146,6 +147,7 @@ static BOOL wbinfo_get_usersids(char *user_sid)
int i;
const char *s;
ZERO_STRUCT(request);
ZERO_STRUCT(response);
/* Send request */
@ -173,6 +175,7 @@ static BOOL wbinfo_get_userdomgroups(const char *user_sid)
struct winbindd_response response;
NSS_STATUS result;
ZERO_STRUCT(request);
ZERO_STRUCT(response);
/* Send request */