Hi, I've just installed Samba 2.0.3 and now I'm getting following error: PAM_pwdb[306]: 1 authentication failure; (uid=0) -> andreas for samba service I can connect to all shares and printers, but get the error. I suppose it has something to do with the passwords (I'm trying to sync Samba and Linux passwords). Any ideas? /Andreas
Hi there, Although I created the users for samba as well as a unix user AND as a samba user (smbpasswd) I get the following message: Sep 15 08:05:01 sloterdijk PAM_pwdb[6801]: 1 authentication failure; (uid=0) -> elly for samba service WHat is going wrong.... All the services seem to work fine but the message is bothering me... Paul Rijke Truckland Amsterdam B.V. Basisweg 47 1043 AN AMSTERDAM telefoon : 020 - 585 1234 telefax : 020 - 585 1199 e-mail : p.rijke@truckland.nl web-site : http://www.truckland.nl
Hi there, does anybody know what is the meaning of the followin messages in the server's log? I have samba 2.0.6 I get the message for user "tsiki", as well as for all the rest of the users.However, nobody seems to have any problem Mar 14 13:52:00 marsyas PAM_pwdb[10126]: authentication failure; (uid=0) -> tsiki for samba service
Hi all, Please help me with this problem : I'm using RH 6.0 and samba 2.0.3 ( it came with RH ) and for authentication ( default ) pam and shadow passwords. The stations are DOS6.2(+MSClient), Win95 and Win98. For every connection that is made to the server ( for a samba service ) I get an error from the PAM_pwdb module, which is responsible for authentication. In addition there is a __annoying__ waiting period after that error occurs. I think the problem is between samba and pam : samba does not transmit the right user&password combination at first time the connection is made and that causes. The file /etc/pam.d/samba looks like (default, also I tried different options ) : ------------------------------------------------------------------ auth required /lib/security/pam_pwdb.so shadow account required /lib/security/pam_pwdb.so ------------------------------------------------------------------ I put a level 3 debug in samba and the log looks like this (see below..) Also, at the same time I put strace to monitor the smbd process and recorded a log file too ( it's quite big, but it is available). samba log file : ________________________________________________________________ [2000/03/20 11:19:08, 3] smbd/process.c:process_smb(565) Transaction 188 of length 66 [2000/03/20 11:19:08, 3] smbd/process.c:switch_message(402) switch message SMBtconX (pid 5310) [2000/03/20 11:19:08, 2] lib/access.c:check_access(249) Allowed connection from ws006 (192.168.41.6) [2000/03/20 11:19:08, 2] smbd/service.c:make_connection(268) Invalid username/password for cpop [2000/03/20 11:19:08, 3] smbd/error.c:error_packet(138) error packet at line 162 cmd=117 (SMBtconX) eclass=2 ecode=2 [2000/03/20 11:19:08, 3] smbd/process.c:process_smb(565) Transaction 189 of length 73 [2000/03/20 11:19:08, 3] smbd/process.c:switch_message(402) switch message SMBtconX (pid 5310) [2000/03/20 11:19:08, 2] lib/access.c:check_access(249) Allowed connection from ws006 (192.168.41.6) [2000/03/20 11:19:09, 3] smbd/password.c:authorise_login(725) ACCEPTED: session list username and given password ok [2000/03/20 11:19:09, 3] smbd/service.c:make_connection(386) Connect path is /home/file.server/users/cpop [2000/03/20 11:19:09, 3] smbd/password.c:setup_groups(192) cpop is in 3 groups: 105, 106, 107 [2000/03/20 11:19:09, 3] lib/doscalls.c:dos_ChDir(327) dos_ChDir to / [2000/03/20 11:19:09, 1] smbd/service.c:make_connection(488) ws006 (192.168.41.6) connect to service cpop as user cpop (uid=106, gid=105) (pid 5310) [2000/03/20 11:19:09, 3] smbd/reply.c:reply_tcon_and_X(340) tconX service=cpop user=cpop [2000/03/20 11:19:09, 3] smbd/process.c:process_smb(565) Transaction 190 of length 82 [2000/03/20 11:19:09, 3] smbd/process.c:switch_message(402) switch message SMBtrans2 (pid 5310) [2000/03/20 11:19:09, 3] lib/doscalls.c:dos_ChDir(327) dos_ChDir to /home/file.server/users/cpop [2000/03/20 11:19:09, 3] smbd/trans2.c:call_trans2qfsinfo(1088) call_trans2qfsinfo: level = 261 [2000/03/20 11:19:09, 3] smbd/process.c:process_smb(565) Transaction 191 of length 67 ________________________________________________________________ Thanx, C-ya, Cristian POP ----------------------------------------------- "Only dead fish go with the flow." _______________________________________________
I'm getting a lot of: Security Violations =-=-=-=-=-=-=-=-=-Oct 25 07:19:21 server PAM_unix[24792]: authentication failure; (uid=0) -> floraplant for samba service Oct 25 07:26:02 server PAM_unix[24803]: authentication failure; (uid=0) -> floraplant for samba service Unusual System Events =-=-=-=-=-=-=-=-=-=-Oct 25 07:19:21 server PAM_unix[24792]: authentication failure; (uid=0) -> floraplant for samba service Oct 25 07:26:02 server PAM_unix[24803]: authentication failure; (uid=0) -> floraplant for samba service all day every day for every user. It does not seem to affect usability at all, but it is annoying to have these messages come up every time. A search on Google turned up a patch for Samba 1.19-p18 to fix this. I'm using RedHat 6.2 with all updates and Samba 2.0.10. Was this patch actually applied? How do I get rid of this stuff? P.S. Someone on the RedHat list suggested it something to do with case mangling of user names - but I don't know how to circumvent that either. Thanks and regards, -- Edward Dekkers (Director) Triple D Computer Services Pty. Ltd. 822 Rowley Road Oakford W.A. 6121 +61 8 9397-1040 ABN: 33 635 238 024
> to the pam library. While this *may* have been quieted down in more > recent versions (by telling PAM not to log) the basic problem can only > be resolved with 'encrypt passwords = yes'.Well, Andrew, you've just helped me out more than you know. I'd been searching for ages, but I had no idea simply using encrypted passwords would actually fix this (what you mentioned I did suspect about the password case thing). I have to admit I'd never set up encrypted passwords because 5 years ago, when I first started playing with Linux, it looked very hard (as you can understand - a newbie skips the hard stuff). I've simply carried the legacy on to each new version. It's time I learned about the passwords. So if you would be so kind: 1> Do you know if a simple step-by-step doc exists on how to set up encrypted passwords? I know about the above setting, and that seems quite easy, but then I would also like to AUTOMATICALLY 'sync' Linux to Samba passwords (from memory this isn't automatic and needs to be scripted?). 2> If Samba is finally set up to use encrypted passwords, will all current clients break, or will they keep logging in un-encrypted until I re-set the registry on those clients? Thanks for your help. If only google told me that I wouldn't have bothered you. -- Edward Dekkers (Director) Triple D Computer Services Pty. Ltd. 822 Rowley Road Oakford W.A. 6121 +61 8 9397-1040 ABN: 33 635 238 024