[svlug] Samba error
Eric N. Valor
ericv at cruzio.com
Wed Aug 2 15:07:16 PDT 2006
Here's one which is vexing me mightily. I have a Samba server
(3.0.14a-Debian) that works perfectly in my Active Directory network. I
have another (essentially a duplicate, different hostname of course)
that does not.
From the syslog of the failing machine (while attempting to connect a
Windows PC to a share):
Aug 2 14:08:18 localhost nss_wins[13755]: [2006/08/02 14:08:18, 0]
lib/util_sock.c:get_peer_addr(1150)
Aug 2 14:08:18 localhost nss_wins[13755]: getpeername failed. Error
was Transport endpoint is not connected
Aug 2 14:08:18 localhost nss_wins[13755]: [2006/08/02 14:08:18, 0]
lib/util_sock.c:write_socket_data(430)
Aug 2 14:08:18 localhost nss_wins[13755]: write_socket_data: write
failure. Error = Connection reset by peer
Aug 2 14:08:18 localhost nss_wins[13755]: [2006/08/02 14:08:18, 0]
lib/util_sock.c:write_socket(455)
Aug 2 14:08:18 localhost nss_wins[13755]: write_socket: Error writing
4 bytes to socket 26: ERRNO = Connection reset by peer
Aug 2 14:08:18 localhost nss_wins[13534]: [2006/08/02 14:08:18, 1]
nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
Aug 2 14:08:18 localhost nss_wins[13534]: error getting user id for
sid <sid>
Aug 2 14:08:18 localhost nss_wins[13534]: [2006/08/02 14:08:18, 1]
nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
Aug 2 14:08:18 localhost nss_wins[13534]: error getting user id for
sid <sid>
. . .
Aug 2 14:08:18 localhost nss_wins[13534]: error getting user id for
sid <sid>
Aug 2 14:08:18 localhost nss_wins[13754]: [2006/08/02 14:08:18, 0]
auth/auth_util.c:make_server_info_info3(1195)
Aug 2 14:08:18 localhost nss_wins[13754]: make_server_info_info3:
pdb_init_sam failed!
Aug 2 14:08:18 localhost nss_wins[13755]: [2006/08/02 14:08:18, 0]
lib/util_sock.c:send_smb(647)
Aug 2 14:08:18 localhost nss_wins[13755]: Error writing 4 bytes to
client. -1. (Connection reset by peer)
From the log.<user>:
[2006/08/02 14:08:18, 0] auth/auth_util.c:make_server_info_info3(1195)
make_server_info_info3: pdb_init_sam failed!
The share doesn't appear while browsing, and directly trying to mount
\\server\share brings up a login prompt which always fails, producing
this extra bit in syslog:
Aug 2 15:04:53 localhost nss_wins[13793]: [2006/08/02 15:04:53, 1]
nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
Aug 2 15:04:53 localhost nss_wins[13793]: error getting user id for
sid <sid>
Aug 2 15:04:53 localhost nss_wins[13793]: [2006/08/02 15:04:53, 1]
nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
Aug 2 15:04:53 localhost nss_wins[13793]: error getting user id for
sid <sid>
Aug 2 15:04:53 localhost nss_wins[13920]: [2006/08/02 15:04:53, 1]
smbd/sesssetup.c:reply_spnego_kerberos(250)
Aug 2 15:04:53 localhost nss_wins[13920]: Username <domain>\<pcname>
is invalid on this system
Interesting that the PC name is used here (?)
I've tried Googling to no avail; just other people asking the same
question without any answers being posted.
Any ideas?
--
Eric N. Valor
ericv at cruzio.com
PGP Key 2048/1024 227B04CB
Key Fingerprint = 766C CA15 0FFF E54B 2FEE C7D7 0F87 3AFB 227B 04CB
: This Space Intentionally Left Blank :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://kenny.linuxmafia.com/pipermail/svlug/attachments/20060802/cfdea973/attachment.pgp
More information about the Svlug
mailing list