Question: How does winbindd determine whether to do annonymous or authenticated queries? How does winbindd determine what user to authenticate with? Can winbindd be forced to use a specific user/password to query the PDC?
Problem: winbindd seems to work intermittantly. wbinfo -u returns "Error looking up domain users" I am using samba 2.2.3a on HPUX 11 and NT 4.0 Domain Controllers that deny annonymous queries. log.winbindd: [2002/04/09 14:04:03, 1] lib/debug.c:debug_message(248) INFO: Debug class all level = 1 (pid 20800 from pid 20800) [2002/04/09 14:04:03, 1] param/loadparm.c:service_ok(2158) NOTE: Service printers is flagged unavailable. [2002/04/09 14:04:03, 2] lib/interface.c:add_interface(81) added interface ip=10.141.1.191 bcast=10.141.255.255 nmask=255.255.0.0 [2002/04/09 14:04:03, 2] lib/interface.c:add_interface(81) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 [2002/04/09 14:04:03, 1] nsswitch/winbindd_util.c:get_domain_info(137) getting trusted domain list [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_lmhosts(752) resolve_lmhosts: Attempting lmhosts lookup for name ap-dc01<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_hosts(792) resolve_hosts: Attempting host lookup for name ap-dc01<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_lmhosts(752) resolve_lmhosts: Attempting lmhosts lookup for name ap-dc02<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_hosts(792) resolve_hosts: Attempting host lookup for name ap-dc02<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_lmhosts(752) resolve_lmhosts: Attempting lmhosts lookup for name ap-dc03<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_hosts(792) resolve_hosts: Attempting host lookup for name ap-dc03<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_lmhosts(752) resolve_lmhosts: Attempting lmhosts lookup for name ap-dc04<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_hosts(792) resolve_hosts: Attempting host lookup for name ap-dc04<0x20> [2002/04/09 14:04:03, 3] lib/util_sock.c:open_socket_in(798) bind succeeded on port 0 [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_lmhosts(752) resolve_lmhosts: Attempting lmhosts lookup for name AP-DC02<0x20> [2002/04/09 14:04:03, 3] libsmb/namequery.c:resolve_hosts(792) resolve_hosts: Attempting host lookup for name AP-DC02<0x20> [2002/04/09 14:04:03, 3] nsswitch/winbindd_cm.c:cm_init_creds(211) IPC$ connections done anonymously [2002/04/09 14:04:03, 3] lib/util_sock.c:open_socket_out(830) Connecting to 10.141.1.170 at port 445 [2002/04/09 14:04:03, 2] lib/util_sock.c:open_socket_out(858) error connecting to 10.141.1.170:445 (Invalid argument) [2002/04/09 14:04:03, 3] lib/util_sock.c:open_socket_out(830) Connecting to 10.141.1.170 at port 139 [2002/04/09 14:04:04, 1] nsswitch/winbindd_util.c:add_trusted_domain(103) adding domain PMA_NB
