summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 8ec8bdced6..4bfec1afe4 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -684,6 +684,8 @@ BOOL winbind_setup_common(void)
/* Check winbindd parameters are valid */
+ ZERO_STRUCT(server_state);
+
if (!winbindd_param_init())
return False;
@@ -693,8 +695,6 @@ BOOL winbind_setup_common(void)
init_domain_list();
- ZERO_STRUCT(server_state);
-
/* Winbind daemon initialisation */
if (!winbindd_idmap_init())