diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-05-21 23:52:35 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-05-21 23:52:35 +0000 |
commit | 42407a11ff876d7e1230fdce0efe26a10385e74f (patch) | |
tree | 4e60838b02e46da59a631953ef77519a66a86306 /source | |
parent | 1bcf6791c79b846e3702bd2f91322b7666a8f323 (diff) | |
download | samba-42407a11ff876d7e1230fdce0efe26a10385e74f.tar.gz |
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
Diffstat (limited to 'source')
-rw-r--r-- | source/nameelect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nameelect.c b/source/nameelect.c index 35cbd754d17..680b22378c4 100644 --- a/source/nameelect.c +++ b/source/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; |