[Samba] Problems with Winbind

Nick Haw nhaw at burevalleyfoods.com
Fri Sep 24 13:16:48 GMT 2004


Hi all, here's hoping you can help with a problem I have got.

 

I am currently running samba 3.0.7-1 on a Suse 9.0 system and I am having
the following problem. 

 

I am trying to get my samba server to join a windows NT4 domain called
BVFL-DOM and then use winbind to get user names from that domain to be use
samba. The samba box joins the NT domain without a problem and I can use NT
server manager to change who can access the shares, but when I come to
trying to access said shares I get prompted for a user name and password. (I
have a feeling it is something to do with the way NT is talking to winbind
and then winbind talking to samba).

 

I have done all the wbinfo -u and -g on the samba box and I get all the
users and groups from the domain coming through, but I can't seem to get
samba to use an NT user to authenticate with.

 

If I put a user name in the smbusers file (root = nhaw) then I get access to
the share just fine.

 

Below is a copy of my smbconfig file and the log file that was created when
a user tries to connect to the share is also attached.

 

Many thanks in advance

 

Nick Haw

 

 

 

 

-------------- next part --------------
2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 0.0.0.0
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 172.31.5.126
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Allowed connection from 0.0.0.0 (0.0.0.0)
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=APOLLO          name2=PC104          
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=apollo remote=pc104, name type = 0
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
  Allowed connection from 172.31.5.126 (172.31.5.126)
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] libsmb/namequery.c:name_query(492)
  Got a positive name query response from 172.31.3.1 ( 172.31.3.1 )
[2004/09/24 13:58:44, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 172.31.3.1:445 (Connection refused)
[2004/09/24 13:58:44, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/09/24 13:58:44, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [NHaw] -> [NHaw] FAILED with error NT_STATUS_NO_SUCH_USER
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 0.0.0.0
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 172.31.5.126
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Allowed connection from 0.0.0.0 (0.0.0.0)
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=APOLLO          name2=PC104          
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=apollo remote=pc104, name type = 0
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
  Allowed connection from 172.31.5.126 (172.31.5.126)
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/09/24 13:58:44, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [NHaw] -> [NHaw] FAILED with error NT_STATUS_NO_SUCH_USER
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 0.0.0.0
[2004/09/24 13:58:44, 1] lib/util_sock.c:get_peer_name(959)
  Gethostbyaddr failed for 172.31.5.126
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
  Allowed connection from 0.0.0.0 (0.0.0.0)
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(235)
  netbios connect: name1=APOLLO          name2=PC104          
[2004/09/24 13:58:44, 2] smbd/reply.c:reply_special(242)
  netbios connect: local=apollo remote=pc104, name type = 0
[2004/09/24 13:58:44, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/09/24 13:58:44, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2004/09/24 13:58:44, 2] lib/access.c:check_access(324)
  Allowed connection from 172.31.5.126 (172.31.5.126)
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(612)
  NTLM CRAP authentication for user [BVFL-DOM]\[] returned NT_STATUS_NO_SUCH_USER (PAM: 10)
[2004/09/24 13:58:44, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/09/24 13:58:44, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/09/24 13:58:44, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [NHaw] -> [NHaw] FAILED with error NT_STATUS_NO_SUCH_USER
[2004/09/24 13:58:44, 2] smbd/server.c:exit_server(571)
  Closing connections


More information about the samba mailing list