[Samba] Samba as NT Domain Member via Winbind - After Upgrade users prompted for password for any shares

Jason.McGlamary at Medstar.net Jason.McGlamary at Medstar.net
Thu Aug 26 12:36:25 GMT 2004


Jerry,

Thanks for your response.  I tried tuning 'winbind use default domain = 
no'  but still have the problem.  When trying to browse the server for 
shares, users are prompted for an IPC$ password.  If they try to access a 
specific share, they get a message saying the share cannot be found.  Any 
other ideas?  I've included below my smb.conf file, modified w/ suggested 
change as well as my logs for smbd, nmbd, and winbindd after all services 
are restarted and a connection attempt was made.

Thanks,

Jason McGlamary
PC/LAN Specialist
Washington Hospital Center


------------------LOG.SMBD----------------------------------
Barton:/var/log/samba# less log.smbd
  smbd version 3.0.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/08/26 07:40:14, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:40:27, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:40:27, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:40:27, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:40:52, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/08/26 07:40:52, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/08/26 07:40:52, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection 
reset by
peer
[2004/08/26 07:40:52, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/08/26 07:40:52, 0] passdb/pdb_tdb.c:tdbsam_tdbopen(194)
  Unable to open/create TDB passwd
[2004/08/26 07:40:52, 0] passdb/pdb_tdb.c:tdbsam_getsampwrid(487)
  pdb_getsampwrid: Unable to open TDB rid database!
[2004/08/26 07:41:42, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:54, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:57, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:57, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:57, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:58, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:41:58, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!
[2004/08/26 07:42:31, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/08/26 07:42:31, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/08/26 07:42:31, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/08/26 07:42:31, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection 
reset by p
eer
[2004/08/26 07:42:31, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/08/26 07:42:31, 0] passdb/pdb_tdb.c:tdbsam_tdbopen(194)
  Unable to open/create TDB passwd
[2004/08/26 07:42:31, 0] passdb/pdb_tdb.c:tdbsam_getsampwrid(487)
  pdb_getsampwrid: Unable to open TDB rid database!

-------------------------LOG.NMBD--------------------------
Barton:/var/log/samba# less log.nmbd
[2004/08/22 15:11:13, 0] nmbd/nmbd_namequery.c:query_name_response(101)
  query_name_response: Multiple (2) responses received for a query on 
subnet 172
.25.37.198 for name MHG<1d>.
  This response was from IP 172.25.37.104, reporting an IP address of 
172.25.37.
104.
[2004/08/25 10:28:26, 0] nmbd/nmbd.c:terminate(54)
  Got SIGTERM: going down...
[2004/08/25 10:28:42, 0] nmbd/nmbd.c:main(664)
  Netbios nameserver version 3.0.6 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/08/25 10:49:37, 0] nmbd/nmbd.c:terminate(54)
  Got SIGTERM: going down...
[2004/08/25 10:49:53, 0] nmbd/nmbd.c:main(664)
  Netbios nameserver version 3.0.6 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/08/25 10:53:27, 0] nmbd/nmbd.c:terminate(54)
  Got SIGTERM: going down...
[2004/08/25 10:53:27, 0] nmbd/nmbd.c:main(664)
  Netbios nameserver version 3.0.6 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/08/25 10:58:06, 0] nmbd/nmbd.c:terminate(54)
  Got SIGTERM: going down...
[2004/08/25 11:00:04, 0] nmbd/nmbd.c:main(664)

----------------------LOG.WINBINDD---------------------
[2004/08/26 07:38:38, 1] nsswitch/winbindd.c:main(854)
  winbindd version 3.0.6 started.
  Copyright The Samba Team 2000-2004
[2004/08/26 07:38:51, 1] 
nsswitch/winbindd_group.c:winbindd_getgroups(1059)
  user 'root' does not exist
[2004/08/26 07:40:33, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298)
  group tty in domain BARTON does not exist
[2004/08/26 07:40:33, 1] 
nsswitch/winbindd_group.c:winbindd_getgroups(1059)
  user 'root' does not exist
[2004/08/26 07:53:01, 1] 
nsswitch/winbindd_group.c:winbindd_getgroups(1059)
  user 'mail' does not exist





"Gerald (Jerry) Carter" <jerry at samba.org> 
08/25/2004 03:53 PM

To
Jason.McGlamary at medstar.net
cc
samba at lists.samba.org
Subject
Re: [Samba] Samba as NT Domain Member via Winbind - After Upgrade users 
prompted for password for any shares






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason.McGlamary at Medstar.net wrote:

| Debian Woody system to upgrade my Samba packages from
| 3.0.2 to 3.0.6.  Since doing so, all my users are prompted
| for a password when trying to access shares.

Would you mind setting 'winbind use default domain = no'
and see if that helps.





cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBLO5MIR7qMdg1EfYRAu9RAKCJC9fEvHO0WOUOYgw+fY7IeEfNmgCeJ2Y4
s9NjATMaeZ/1vVnES1NIH2U=
=f85R
-----END PGP SIGNATURE-----



More information about the samba mailing list