summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wbinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 826b4fc040..3ae97cfea0 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -653,6 +653,9 @@ static BOOL wbinfo_lookuprids(char *domain, char *arg)
struct winbindd_request request;
struct winbindd_response response;
+ ZERO_STRUCT(request);
+ ZERO_STRUCT(response);
+
if ((domain == NULL) || (strequal(domain, ".")) || (domain[0] == '\0'))
fstrcpy(request.domain_name, get_winbind_domain());
else