summaryrefslogtreecommitdiffstats
path: root/source3/namedbwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/namedbwork.c')
-rw-r--r--source3/namedbwork.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/namedbwork.c b/source3/namedbwork.c
index 04f2103254..0cfc47c41a 100644
--- a/source3/namedbwork.c
+++ b/source3/namedbwork.c
@@ -91,7 +91,9 @@ static struct work_record *make_workgroup(char *name)
work->ElectionCount = 0;
work->needelection = False;
work->needannounce = True;
- work->state = MST_NONE;
+ work->mst_state = MST_POTENTIAL;
+ work->dom_state = DOMAIN_NONE;
+ work->log_state = LOGON_NONE;
/* make sure all token representations of workgroups are unique */