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 | 2225f7c780f5a82f257ca12c95bfdfb0f3614441 (patch) | |
tree | d8fb2b6c95f629bba37d6a21ff1e281ed90ccc07 | |
parent | bd0d54cfd73cf9dae9be038ddf043252970127dc (diff) | |
download | samba-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.c | 2 |
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; |