Do you have this line in your /etc/imapd.conf ?

sasl_pwcheck_method: pam



E M Recio wrote:

>Is there a 'special' configuration option I have to give cyrus (when
>compiling) so that it looks at PAM for authentication? I tried the following
>(On RH7.2): 
>
>./configure  --with-sasl=/usr/lib/sasl --with-cyrus-user=cyrus
>--with-cyrus-group=mail --without-krb=/usr/kerberos --with-auth=unix
>--with-perl=/usr/bin/perl
>I pointed the machine (pam) to use the ldap for authentication. This works
>fine for logging in to the machine (ie: telnet ssh etc.) but when I try to
>login via cyradm (cyradm -u cyrus localhost) it doesn't work.
>
>My imapd.conf has 'sasl_pwcheck_method: pam' but no luck authenticating under
>PAM. In /etc/pam.d/imap I have:
>#%PAM-1.0
>auth    sufficient      pam_ldap.so
>auth    required        pam_unix.so
>account sufficient      pam_ldap.so
>account required        pam_unix.so
>
>and I've even tried copying the /etc/pam.d/ssh to /etc/pam.d/imap (figuring
>that if I can ssh via PAM, then I would be able to do IMAP via pam) but no
>luck there either. Any help on these matters would be greatly appreciated.
>
>Best Regards,
>Elmo Recio
>
>____________________________________________________________________
>Get free e-mail and a permanent address at http://www.amexmail.com/?A=1
>



Reply via email to