- add the 0x1c name for all interfaces if we are a logon server
authorAndrew Tridgell <tridge@samba.org>
Tue, 13 Aug 1996 11:13:11 +0000 (11:13 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 13 Aug 1996 11:13:11 +0000 (11:13 +0000)
(This used to be commit c66ad071b7ff2dcdd7734b72670d181bb3ac6de7)

source3/nameserv.c

index da1480961f1ee2d887ecbd8652750ee08376dcfa..289f6702b3b52d4b13896e2c220b7419a2302fe6 100644 (file)
@@ -198,10 +198,10 @@ void add_my_names(void)
        add_netbios_entry(d,"__SAMBA__",0x20,nb_type|NB_ACTIVE,0,SELF,ip,False,wins);
        add_netbios_entry(d,"__SAMBA__",0x00,nb_type|NB_ACTIVE,0,SELF,ip,False,wins);
 
-    if (!wins_iface && lp_domain_logons() && lp_domain_master()) {
-       /* XXXX the 0x1c is apparently something to do with domain logons */
+       if (lp_domain_logons()) {
+         /* 0x1c is used to find logon servers for a domain */
          add_my_name_entry(d, my_workgroup(),0x1c,nb_type|NB_ACTIVE|NB_GROUP);
-    }
+       }
   }
   if (lp_domain_master() && (d = find_subnet(ipgrp)))
   {