summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-21 23:52:35 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-21 23:52:35 +0000
commit2225f7c780f5a82f257ca12c95bfdfb0f3614441 (patch)
treed8fb2b6c95f629bba37d6a21ff1e281ed90ccc07
parentbd0d54cfd73cf9dae9be038ddf043252970127dc (diff)
downloadsamba-2225f7c780f5a82f257ca12c95bfdfb0f3614441.tar.gz
samba-2225f7c780f5a82f257ca12c95bfdfb0f3614441.tar.bz2
samba-2225f7c780f5a82f257ca12c95bfdfb0f3614441.zip
Makefile: Turned on FAST_SHARE_MODES by default for a bunch of machines.
nameelect.c: Fixed bug where we were always using our workgroup name instead of the current one. jallison@whistle.com (This used to be commit 42407a11ff876d7e1230fdce0efe26a10385e74f)
-rw-r--r--source3/nameelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index 35cbd754d1..680b22378c 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -442,7 +442,7 @@ void become_domain_master(struct subnet_record *d, struct work_record *work)
work->dom_state = DOMAIN_WAIT;
/* XXXX the 0x1b is domain master browser name */
- add_my_name_entry(d, myworkgroup,0x1b,nb_type|NB_ACTIVE|NB_GROUP);
+ add_my_name_entry(d, work->work_group,0x1b,nb_type|NB_ACTIVE|NB_GROUP);
/* DON'T do anything else after calling add_my_name_entry() */
break;