summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-12-16 12:21:39 +0000
committerJeremy Allison <jra@samba.org>1997-12-16 12:21:39 +0000
commite9ef2a5a5e9bbec686429f00366b6d72cba83d03 (patch)
treeb19c7e8d5611edc725caf072336ce08b1e65c6f2 /source3/nmbd
parentdfac756abc7415d786c63020fd3c015ac317893d (diff)
downloadsamba-e9ef2a5a5e9bbec686429f00366b6d72cba83d03.tar.gz
samba-e9ef2a5a5e9bbec686429f00366b6d72cba83d03.tar.bz2
samba-e9ef2a5a5e9bbec686429f00366b6d72cba83d03.zip
WHATSNEW.txt - updated for 1.9.18alpha13.
docs/smb.conf.5: Removed unused NTDOMAIN params. Added new params. source/loadparm.c: Put #ifdef NTDOMAIN around unused params. source/nmbd_become_lmb.c: Removed check for workgroup name in lmb name. Jeremy. (This used to be commit 5136c5ec119968b39e2cf9d7f3e6836d9286a51f)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_become_lmb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c
index 6496a2f9e5..6dcd61d76c 100644
--- a/source3/nmbd/nmbd_become_lmb.c
+++ b/source3/nmbd/nmbd_become_lmb.c
@@ -544,6 +544,11 @@ void set_workgroup_local_master_browser_name( struct work_record *work, char *ne
DEBUG(5,("set_workgroup_local_master_browser_name: setting local master name to '%s' \
for workgroup %s.\n", newname, work->work_group ));
+#if 0
+ /*
+ * Apparently some sites use the workgroup name as the local
+ * master browser name. Arrrrggghhhhh ! (JRA).
+ */
if(strequal( work->work_group, newname))
{
DEBUG(5, ("set_workgroup_local_master_browser_name: Refusing to set \
@@ -551,6 +556,7 @@ local_master_browser_name for workgroup %s to workgroup name.\n",
work->work_group ));
return;
}
+#endif
StrnCpy(work->local_master_browser_name, newname,
sizeof(work->local_master_browser_name)-1);