[Samba] Authentication issue?

Tom Elsesser tom at acalprecision.com
Wed Dec 19 18:50:49 GMT 2007


I have a centos box using kernel 2.6.9-42.0.2.ELsmp that had a samba
server running very nicely until 2 days ago. Out of the blue, users 
can't access any shares. We have 5 users and 6 shares, one of which is 
an MS access database that gets the most use. I thought the smbpasswd 
database may be corrupt so I replaced it with a backup, but no go. I 
deleted the smbpasswd database, re-added users, that didn't work either.

Checking a users samba log, I found this series of errors when trying to 
get to any samba share:
[2007/12/19 13:16:15, 0] auth/pampass.c:smb_pam_error_handler(73)
   smb_pam_error_handler: PAM: session setup failed : System error
[2007/12/19 13:16:15, 1] smbd/session.c:session_claim(143)
   pam_session rejected the session for tom [smb/32352/109]
[2007/12/19 13:16:15, 1] smbd/password.c:register_vuid(310)
   Failed to claim session for vuid=109
[2007/12/19 13:16:31, 0] auth/pampass.c:smb_pam_error_handler(73)
   smb_pam_error_handler: PAM: session setup failed : System error
[2007/12/19 13:16:31, 1] smbd/session.c:session_claim(143)
   pam_session rejected the session for tom [smb/32359/109]
[2007/12/19 13:16:31, 1] smbd/password.c:register_vuid(310)
   Failed to claim session for vuid=109


The smbd.log shows this:
[2007/12/19 13:16:08, 0] lib/util_sock.c:get_peer_addr(1232)
   getpeername failed. Error was Transport endpoint is not connected

I can 'smbclient -L' to the workstations, and all other services (httpd,
sendmail, squid) are running as usual. I can smbmount from the linux 
machine to a workstation and use the files in the shares, but can't get 
from teh workstations to the linux box. From my limited experience, it
seems authentication is whacked, but I can't flesh it out. Any help is
appreciated.

-- 


More information about the samba mailing list