On Tuesday 03 Dec 2002 4:29 pm, Paul wrote:
> Hi everyone,
>
> I have tried finding a solution in the archives of newbie and expert, but
> this won't get me anywhere. Also mandrakeuser.org has nothing for me...
>
> I am doing something very wrong with samba authentication.
>
> I have user paul on my linux box.
> I also have user paul on a winblows pc. (Call that 'log in'? ;)
> I have added user paul for samba, as root: smbuser -a paul
> With "smbpasswd -U paul" I set the samba password to the loginpassword I
> use on linux and also on the winblows machine.
> Workgroup name in smb.conf and winblows is identical.
> Running testparm shows no problems in smb.conf.
> Problem occurs with and without user.map file.
>
> And what does /var/log/samba/log.p400 tell me:
>
> [2002/12/03 17:20:27, 0] passdb/pampass.c:smb_pam_passcheck(827)
>   smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User paul !
> [2002/12/03 17:20:30, 0] passdb/pampass.c:smb_pam_passcheck(827)
>   smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User paul !
> [2002/12/03 17:20:34, 0] passdb/pampass.c:smb_pam_passcheck(827)
>   smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User paul !
>
> As there is info in the logfile, there is a connection to the linux
> machine. (I know the network setup is okay, since FTP works just fine.)
>
> The windows (98) end of things state:
> Error 86: The specified network password is not correct. Type the correct
> password, or contact your network administrator.
>
> So it is just the samba authentication that blows up. Does anyone have a
> pointer for me?
>
> Thanks.
> Paul

The most common reasons for this are case incompatibility (and don't forget 
that windows can easily confuse the issue by accepting both Paul and paul for 
the same person) or encrypted passwords.  Does your smb.conf file have a line

encrypt passwords = yes
?

If you are certain that neither of these are the cause, you could always post 
your entire smb.conf file here and we'll look at it.

Have you looked at your setup using Webmin?  Although manually editing files 
gives a cleaner setup, it is often instructive to look at the situation 
through the eyes of the gui - it sometimes points out something that you have 
missed.

HTH

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to