[Samba] winbind confused about the DC's

Timo Aaltonen tjaalton at cc.hut.fi
Thu Jan 28 01:46:11 MST 2010


 	Hi

   Problems with wbinfo this time. With -u/-g/-n it works, but -i doesn't. 
The log.winbindd-idmap is filled with this:

[2010/01/28 10:32:56,  4] libsmb/namequery_dc.c:73(ads_dc_name)
   ads_dc_name: domain=*
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1972(get_dc_list)
   get_dc_list: preferred server list: ", *"
[2010/01/28 10:32:56,  3] libads/dns.c:343(dns_send_req)
   ads_dns_lookup_srv: Failed to resolve _ldap._tcp.dc._msdcs.* (Success)
[2010/01/28 10:32:56,  3] libads/dns.c:413(ads_dns_lookup_srv)
   ads_dns_lookup_srv: Failed to send DNS query (NT_STATUS_UNSUCCESSFUL)
[2010/01/28 10:32:56,  4] libsmb/namequery.c:2004(get_dc_list)
   get_dc_list: no servers found
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1972(get_dc_list)
   get_dc_list: preferred server list: ", *"
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1225(resolve_lmhosts)
   resolve_lmhosts: Attempting lmhosts lookup for name *<0x1c>
[2010/01/28 10:32:56,  4] libsmb/namequery.c:839(startlmhosts)
   startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1089(resolve_wins)
   resolve_wins: Attempting wins lookup for name *<0x1c>
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1093(resolve_wins)
   resolve_wins: WINS server resolution selected and no WINS servers listed.
[2010/01/28 10:32:56,  3] libsmb/namequery.c:1016(name_resolve_bcast)
   name_resolve_bcast: Attempting broadcast lookup for name *<0x1c>
[2010/01/28 10:32:57,  4] libsmb/namequery.c:2004(get_dc_list)
   get_dc_list: no servers found
[2010/01/28 10:32:58,  3] libsmb/namequery_dc.c:167(rpc_dc_name)
   Could not look up dc's for domain *
[2010/01/28 10:32:58,  1] winbindd/idmap_ad.c:143(ad_idmap_cached_connection_internal)
   ad_idmap_init: failed to connect to AD
[2010/01/28 10:32:58,  1] winbindd/idmap_ad.c:543(idmap_ad_sids_to_unixids)
   ADS uninitialized: No logon servers


The first one is alarming. Why does it try a wildcard? Especially since 
log.winbindd-dc-connect has this:

[2010/01/28 10:41:10,  4] libsmb/namequery_dc.c:73(ads_dc_name)
   ads_dc_name: domain=AALTO
[2010/01/28 10:41:10,  3] libsmb/namequery.c:1972(get_dc_list)
   get_dc_list: preferred server list: "DC04.org.aalto.fi, *"
[2010/01/28 10:41:10,  4] libsmb/namequery.c:2105(get_dc_list)
   get_dc_list: returning 4 ip addresses in an ordered list
[2010/01/28 10:41:10,  4] libsmb/namequery.c:2106(get_dc_list)
   get_dc_list: 130.233.251.7:389 130.233.251.6:389 130.233.251.5:389 130.233.251.4:389
[2010/01/28 10:41:10,  3] libads/ldap.c:621(ads_connect)
   Successfully contacted LDAP server 130.233.251.7
  .
  .
  .

??

running 3.4.3 on ubuntu devel release.

t


More information about the samba mailing list