diff options
author | Tim Potter <tpot@samba.org> | 2002-11-18 22:46:45 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-11-18 22:46:45 +0000 |
commit | 2beebe252f8fc76366d38024b0578f83d8542d1d (patch) | |
tree | a4ee0d7246eb376baba6e2ce2189dbfaa8049356 /source/nsswitch | |
parent | a148e4c290820a48c8b51e0e0459b2171b32c258 (diff) | |
download | samba-2beebe252f8fc76366d38024b0578f83d8542d1d.tar.gz samba-2beebe252f8fc76366d38024b0578f83d8542d1d.tar.xz samba-2beebe252f8fc76366d38024b0578f83d8542d1d.zip |
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd.c | 4 |
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()) |