summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-18 22:46:45 +0000
committerTim Potter <tpot@samba.org>2002-11-18 22:46:45 +0000
commitce93216c93b53d266ad183675943d736588c51d6 (patch)
treea97f76efe6dfe86317746daac9fbf145849f1ebc
parent713b2f0b4741ce898beee056a9b15c46a7bf081e (diff)
downloadsamba-ce93216c93b53d266ad183675943d736588c51d6.tar.gz
samba-ce93216c93b53d266ad183675943d736588c51d6.tar.bz2
samba-ce93216c93b53d266ad183675943d736588c51d6.zip
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after. (This used to be commit 2beebe252f8fc76366d38024b0578f83d8542d1d)
-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())