From e1eb836430256fc917d22a9e14cf2b76a3f0864d Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Sat, 15 Mar 1997 17:59:42 +0000 Subject: bug: when checking whether there is a PDC already on the current local subnet, on finding that there was no response, the (broadcast) ip address queried was accidentally being compared to the (unicast) interface ip address. this would stop non-WINS-client nmbds from ever becoming a PDC. lkcl (This used to be commit 94060a4a9b834aff3857abfbc9ca9c0e6298aeca) --- source3/nameresp.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'source3/nameresp.c') diff --git a/source3/nameresp.c b/source3/nameresp.c index 77addc2985..b920742c76 100644 --- a/source3/nameresp.c +++ b/source3/nameresp.c @@ -176,13 +176,10 @@ static void dead_netbios_entry(struct subnet_record *d, } if (n->num_msgs == 0) { - if (ismyip(n->send_ip)) - { - struct work_record *work = find_workgroupstruct(d,n->name.name,False); - if (work && d) - { - become_domain_master(d,work); - } + struct work_record *work = find_workgroupstruct(d,n->name.name,False); + if (work && d) + { + become_domain_master(d,work); } } break; -- cgit