Makefile: Turned on FAST_SHARE_MODES by default for a bunch of machines.
authorSamba Release Account <samba-bugs@samba.org>
Wed, 21 May 1997 23:52:35 +0000 (23:52 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Wed, 21 May 1997 23:52:35 +0000 (23:52 +0000)
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)

source3/nameelect.c

index 35cbd754d17786307f6bfc2b87ccc4060ebd27c3..680b22378c430cac553d9646a05b7f1b9bc6fdd7 100644 (file)
@@ -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;