diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-06-06 16:14:17 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-06-06 16:14:17 +0000 |
commit | 548196362bf5f81de823a075e86bb9ac10e6b14b (patch) | |
tree | 521c4c6b00a0f19ba3c8248a9648b5e92b4c2436 /source3/namedbwork.c | |
parent | 3f067df49514c821eec5e9be132e6bd42c268506 (diff) | |
download | samba-548196362bf5f81de823a075e86bb9ac10e6b14b.tar.gz samba-548196362bf5f81de823a075e86bb9ac10e6b14b.tar.bz2 samba-548196362bf5f81de823a075e86bb9ac10e6b14b.zip |
loadparm.c: Made explicit max packet now ignored.
namedbwork.c: Don't announce potential browser if local master = False.
nameelect.c: Raise debug level of comment to 2.
proto.h: Added reset_globals_after_fork().
server.c: Call reset_globals_after_fork() after forking child.
util.c: Added reset_globals_after_fork() - should stop problems
with % substitutions in children.
(This used to be commit 77be0f710cc96441d966ab7b026a0d591b01ffb0)
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; |