git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c4f01
)
Bug fix from appliance - we must initialise the winbindd server state
author
Tim Potter
<tpot@samba.org>
Mon, 18 Nov 2002 22:50:57 +0000
(22:50 +0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 18 Nov 2002 22:50:57 +0000
(22:50 +0000)
before reading smb.conf parameters, not after.
source/nsswitch/winbindd.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd.c
b/source/nsswitch/winbindd.c
index 8ec8bdced6fcbaf9383a69d7303a162aed9d120b..4bfec1afe49338387de64b90fcc42b561631b027 100644
(file)
--- 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())