summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c
index 8ec8bdced6f..4bfec1afe49 100644
--- a/source/nsswitch/winbindd.c
+++ b/source/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())