- removed reference to my_workgroup() accidentally put back in nameserv.c
authorSamba Release Account <samba-bugs@samba.org>
Sat, 17 Aug 1996 13:47:52 +0000 (13:47 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Sat, 17 Aug 1996 13:47:52 +0000 (13:47 +0000)
(This used to be commit 8401ec875b5b13c3473921d103037f3294fc917d)

source3/nameserv.c

index ed48adb623b84f8cf5d43abc5ea3396d1ab8219e..48b00d256d760aab46544e2d74039bd2c5c499a7 100644 (file)
@@ -198,12 +198,12 @@ void add_my_names(void)
 
     if (lp_domain_logons()) {
        /* XXXX the 0x1c is apparently something to do with domain logons */
-         add_my_name_entry(d, my_workgroup(),0x1c,nb_type|NB_ACTIVE|NB_GROUP);
+         add_my_name_entry(d, lp_workgroup(),0x1c,nb_type|NB_ACTIVE|NB_GROUP);
     }
   }
   if (lp_domain_master() && (d = find_subnet(ipgrp)))
   {
-    struct work_record *work = find_workgroupstruct(d, my_workgroup(), True);
+    struct work_record *work = find_workgroupstruct(d, lp_workgroup(), True);
     if (work && work->state == MST_NONE)
     {
       work->state = MST_DOMAIN_NONE;