[Samba] Re: samba-3.0.23a, get_dc_list failures

Andrei Nazarenko a.nazarenko at gmail.com
Tue Jul 25 10:03:34 GMT 2006


Hello Jerry,

> You'll have to prove that to me.  What does
> 'host -t SRV _ldap._tcp.dc._msdcs.<ad domain>' return?

host -t SRV _ldap._tcp.dc._msdcs.OA.PNRAD.NET
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
chpdc001.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
frpdc006.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
frpdc005.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
frpdc004.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
lopdc001.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
lupdc006.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
frpdc003.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
lupdc004.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
lupdc005.oa.pnrad.net.
_ldap._tcp.dc._msdcs.OA.PNRAD.NET has SRV record 0 100 389
lupdc003.oa.pnrad.net.

They resolve into the following:

CHPDC001	10.66.2.209	
FRPDC003	172.19.95.206
FRPDC004	172.19.94.230
FRPDC005	172.18.2.214
FRPDC006	172.18.2.216
LOPDC001	172.20.129.225	
LUPDC003	10.254.212.192	
LUPDC004	10.254.212.193	
LUPDC005	10.254.212.194	
LUPDC006	10.254.212.195	

Which is "somewhat" different from the list in Samba's log file. Note
that the first tree entries are actually correct, which is why I
believe, I can map Samba shares initially. The rest of the IP's are
totally wrong.

> get_dc_list: returning 10 ip addresses in an unordered list
> [2006/07/24 21:47:13, 4] libsmb/namequery.c:get_dc_list(1503)
>  get_dc_list: 10.254.212.194:389 10.254.212.192:389 10.66.2.209:389
> 40.50.50.52:389 144.87.157.85:389 80.0.0.0:389 115.119.111.114:389
> 91.79.65.65:389 53.93.10.0:389 48.86.157.85:389


Regards,

Andrei Nazarenko


More information about the samba mailing list