summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-11-05 22:09:15 +0000
committerJeremy Allison <jra@samba.org>1997-11-05 22:09:15 +0000
commit52fa04d173a18adb52955afd9e18edd81300e009 (patch)
tree7ba52e9dda192d31970d938324e6e2b62d008142 /source3
parentbd83f461a1a3f1ed610061681720b8923154c697 (diff)
downloadsamba-52fa04d173a18adb52955afd9e18edd81300e009.tar.gz
samba-52fa04d173a18adb52955afd9e18edd81300e009.tar.bz2
samba-52fa04d173a18adb52955afd9e18edd81300e009.zip
Change to always register the WORKGROUP<1e> name as does Win95.
Jeremy. (This used to be commit 313fdcd3e99e0fa2bd44b30545cf32e36cd13119)
Diffstat (limited to 'source3')
-rw-r--r--source3/namedbsubnet.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/namedbsubnet.c b/source3/namedbsubnet.c
index 27c1a0470e..816203ea3c 100644
--- a/source3/namedbsubnet.c
+++ b/source3/namedbsubnet.c
@@ -254,10 +254,8 @@ void add_workgroup_to_subnet( struct subnet_record *d, char *group)
add_my_name_entry(d,group,0x0 ,nb_type|NB_ACTIVE|NB_GROUP);
- /* Only register the WORKGROUP<0x1e> name if we could be a local master
- browser. */
- if(lp_local_master())
- add_my_name_entry(d,group,0x1e,nb_type|NB_ACTIVE|NB_GROUP);
+ /* Register the WORKGROUP<0x1e> name. */
+ add_my_name_entry(d,group,0x1e,nb_type|NB_ACTIVE|NB_GROUP);
/* Add all our server names to the workgroup list. We remove any
browser or logon server flags from all but the primary name.