Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to setup PAM authentification for SMTP client connection. So to authent for SMTP to send mail, using the same as the login to the host.

The log says:

2011-04-28 20:19:31 plain_pam authenticator failed for xxxx ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data (set_id=user)
2011-04-28 20:19:33 login_pam authenticator failed for xxxx ([x.x.x.x]) [x.x.x.x]: 535 Incorrect authentication data (set_id=user)

/etc/pam.d/exim:

auth            required       pam_unix.so
account         required       pam_permit.so
session         required       pam_permit.so

Any hints to look or activate some trace info to see what is failing ?

share|improve this question

1 Answer 1

As what user does exim run and can that user read /etc/pam.d/exim and /etc/shadow (assuming your /etc/nsswitch.conf has files for passwd and shadow).

share|improve this answer
    
Ok, it was the /etc/shadow file. Thanks. –  PeterMmm Apr 29 '11 at 12:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.