diff options
Diffstat (limited to 'source3/namedbwork.c')
-rw-r--r-- | source3/namedbwork.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/namedbwork.c b/source3/namedbwork.c index d752916815..a17de731bb 100644 --- a/source3/namedbwork.c +++ b/source3/namedbwork.c @@ -88,7 +88,8 @@ static struct work_record *make_workgroup(char *name) StrnCpy(work->work_group,name,sizeof(work->work_group)-1); work->serverlist = NULL; - work->ServerType = DFLT_SERVER_TYPE | SV_TYPE_POTENTIAL_BROWSER; + work->ServerType = DFLT_SERVER_TYPE | (lp_local_master() ? + SV_TYPE_POTENTIAL_BROWSER : 0 ); work->RunningElection = False; work->ElectionCount = 0; work->needelection = False; |