summaryrefslogtreecommitdiffstats
path: root/source3/nameserv.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-13 11:13:11 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-13 11:13:11 +0000
commit4faf376bd6feb5d4d9f796898847cca423bc141d (patch)
treed3570d237f45ff67766d1e6ade9cef27fe376ace /source3/nameserv.c
parent7ef19ee4bcb089c4894a864b1348f81a1dd07cd0 (diff)
downloadsamba-4faf376bd6feb5d4d9f796898847cca423bc141d.tar.gz
samba-4faf376bd6feb5d4d9f796898847cca423bc141d.tar.xz
samba-4faf376bd6feb5d4d9f796898847cca423bc141d.zip
- add the 0x1c name for all interfaces if we are a logon server
(This used to be commit c66ad071b7ff2dcdd7734b72670d181bb3ac6de7)
Diffstat (limited to 'source3/nameserv.c')
-rw-r--r--source3/nameserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c
index da1480961f1..289f6702b3b 100644
--- a/source3/nameserv.c
+++ b/source3/nameserv.c
@@ -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)))
{