[Samba] Error looking up domain users

Lehrnbecher-Hundt, Birgit Birgit.Lehrnbecher-Hundt at med.uni-muenchen.de
Thu Jun 20 02:23:03 GMT 2002


Hello list,

I'm runnung samba 2.2.4 on solaris 2.6 using winbind for account management. The samba server is a member server in a w2k domain.
I've tested winbind in two different w2k domain (test and productive) with the same settings and analogue entries in the smb.conf.
In the one w2k domain all run properly, in the other one I can join the domain (wbinfo -t tells secret is good), but wbinfo -u says 'Error looking up domain users', wbinfo --sequence says 'NAMIBIA: DISCONNECTED'.
The log.winbindd (log level 3) shows following output:
[2002/06/20 11:02:32, 0] lib/debug.c:debug_message(259)
  INFO: Debug class all level = 3   (pid 479 from pid 479)
[2002/06/20 11:02:32, 2] param/loadparm.c:do_section(3024)
  Processing section "[dir1]"
[2002/06/20 11:02:32, 2] param/loadparm.c:do_section(3024)
  Processing section "[dir2]"
[2002/06/20 11:02:32, 2] param/loadparm.c:do_section(3024)
  Processing section "[homes]"
[2002/06/20 11:02:32, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service IPC$
[2002/06/20 11:02:32, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service ADMIN$
[2002/06/20 11:02:32, 2] lib/interface.c:add_interface(81)
  added interface ip=138.244.15.21 bcast=138.244.255.255 nmask=255.255.0.0
[2002/06/20 11:02:32, 2] lib/interface.c:add_interface(81)
  added interface ip=138.244.15.21 bcast=138.244.255.255 nmask=255.255.0.0
[2002/06/20 11:02:32, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name OITX8N<0x20>
[2002/06/20 11:02:32, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name OITX8N<0x20>
[2002/06/20 11:02:32, 3] lib/util_sock.c:open_socket_in(811)
  bind succeeded on port 0
[2002/06/20 11:02:32, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(206)
  cm_get_dc_name: Returning DC OITX8N (138.244.16.89) for domain NAMIBIA
[2002/06/20 11:02:32, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(236)
  IPC$ connections done anonymously
[2002/06/20 11:02:32, 3] libsmb/cliconnect.c:cli_full_connection(980)
  Connecting to host=OITX8N share=IPC$
[2002/06/20 11:02:32, 3] lib/util_sock.c:open_socket_out(843)
  Connecting to 138.244.16.89 at port 445
[2002/06/20 11:02:33, 1] nsswitch/winbindd_util.c:init_domain_list(150)
  Added domain NAMIBIA (S-1-5-21-1801674531-287218729-725345543)
[2002/06/20 11:02:33, 1] nsswitch/winbindd_util.c:init_domain_list(152)
  getting trusted domain list
[2002/06/20 11:02:38, 3] nsswitch/winbindd_misc.c:winbindd_check_machine_acct(49)
  [  481]: check machine account
[2002/06/20 11:02:38, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(236)
  IPC$ connections done anonymously
[2002/06/20 11:02:38, 3] libsmb/cliconnect.c:cli_full_connection(980)
  Connecting to host=OITX8N share=IPC$
[2002/06/20 11:02:38, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name OITX8N<0x20>
[2002/06/20 11:02:38, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name OITX8N<0x20>
[2002/06/20 11:02:38, 3] lib/util_sock.c:open_socket_out(843)
  Connecting to 138.244.16.89 at port 445
[2002/06/20 11:02:38, 3] nsswitch/winbindd_misc.c:winbindd_check_machine_acct(88)
  secret is good
[2002/06/20 11:02:39, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  173]: getpwnam \nobody
[2002/06/20 11:02:39, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(236)
  IPC$ connections done anonymously
[2002/06/20 11:02:39, 3] libsmb/cliconnect.c:cli_full_connection(980)
  Connecting to host=OITX8N share=IPC$
[2002/06/20 11:02:39, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name OITX8N<0x20>
[2002/06/20 11:02:39, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name OITX8N<0x20>
[2002/06/20 11:02:39, 3] lib/util_sock.c:open_socket_out(843)
  Connecting to 138.244.16.89 at port 445
[2002/06/20 11:02:39, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(120)
  user 'nobody' does not exist
[2002/06/20 11:02:54, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  173]: getpwnam namibia\blehrnbe
[2002/06/20 11:02:54, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(236)
  IPC$ connections done anonymously
[2002/06/20 11:02:54, 3] libsmb/cliconnect.c:cli_full_connection(980)
  Connecting to host=OITX8N share=IPC$
[2002/06/20 11:02:54, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name OITX8N<0x20>
[2002/06/20 11:02:54, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name OITX8N<0x20>
[2002/06/20 11:02:54, 3] lib/util_sock.c:open_socket_out(843)
  Connecting to 138.244.16.89 at port 445
[2002/06/20 11:02:54, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(120)
  user 'blehrnbe' does not exist
[2002/06/20 11:02:55, 3] nsswitch/winbindd_misc.c:winbindd_show_sequence(153)
  [  482]: show sequence

Who can help solving this problem?
Thanks for all replies.

Cheers,

birgit





More information about the samba mailing list