What version of Cyrus? Cyrus 2.1.x uses SASL v2 which doesn't support PAM directly anymore. You have to use saslauthd.
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 -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp