Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-08 Thread Ali Majdzadeh
Viktor, Thanks a lot, I managed to solve the problem. I can now authenticate users using SASL, saslauthd, PAM and pam_krb5.so (and of cource Kerberos!) Thanks again. Kind Regards Ali Majdzadeh Kohbanani 2009/11/8 Ali Majdzadeh ali.majdza...@gmail.com Viktor, Thanks a lot. You are very

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-07 Thread Ali Majdzadeh
Viktor, Sorry about the previous mail. The logs which I sent were incorrect. Actually, there are no log messages just the following one in /var/log/mail.log: Nov 7 11:44:54 client2 postfix/smtpd[13159]: warning: SASL authentication failure: Password verification failed But, as I told you

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-07 Thread Ali Majdzadeh
Viktor, Hi I managed to test the configuration using the sample programs provided by Cyrus. But I can not test the configuration using Postfix. Sample users which are defined as principles are successfully authenticated using PLAIN authentication mechanism, pam_krb5.so and saslauthd, but the

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-07 Thread Victor Duchovni
On Sat, Nov 07, 2009 at 11:11:36PM +0330, Ali Majdzadeh wrote: Viktor, Hi I managed to test the configuration using the sample programs provided by Cyrus. But I can not test the configuration using Postfix. Sample users which are defined as principles are successfully authenticated using

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-07 Thread Ali Majdzadeh
Viktor, Thanks a lot. You are very helpful. Kind Regards Ali Majdzadeh Kohbanani 2009/11/8 Victor Duchovni victor.ducho...@morganstanley.com On Sat, Nov 07, 2009 at 11:11:36PM +0330, Ali Majdzadeh wrote: Viktor, Hi I managed to test the configuration using the sample programs provided

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-06 Thread Ali Majdzadeh
Viktor, Hi I hope that you are still following this thread. After a couple of testing, I saw the following error in auth.log: Nov 7 11:14:51 client2 saslauthd[2882]: DEBUG: auth_pam: pam_authenticate failed: Permission denied Nov 7 11:14:51 client2 saslauthd[2882]: do_auth : auth

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-02 Thread Victor Duchovni
On Sun, Nov 01, 2009 at 04:30:21PM +0330, Ali Majdzadeh wrote: I have configured saslauthd to use pam for password verification and I want to use pam_krb5 as the authentication back-end. I have set the following options in /etc/postfix/sasl/smtpd.conf: log_level: 3 pwcheck_method:

Re: Problem using Postfix, saslauthd and pam_krb5

2009-11-02 Thread Ali Majdzadeh
Victor, Hello Thanks a lot for your help. I am going to test your solutions. Thanks again. Warm Regards Ali Majdzadeh Kohbanani 2009/11/2 Victor Duchovni victor.ducho...@morganstanley.com On Sun, Nov 01, 2009 at 04:30:21PM +0330, Ali Majdzadeh wrote: I have configured saslauthd to use pam

Problem using Postfix, saslauthd and pam_krb5

2009-11-01 Thread Ali Majdzadeh
Hello all I have configured saslauthd to use pam for password verification and I want to use pam_krb5 as the authentication back-end. I have set the following options in /etc/postfix/sasl/smtpd.conf: log_level: 3 pwcheck_method: saslauthd mech_list: plain login Also, I have entered the following