I've had similar problems with Cyrus 2.1.4 and PAM authentification. Here is how it works now:
in imapd.conf: sasl_pwcheck_method: pwcheck (that requires the pwcheck daemon running) and to use cyradm: $ cyradm --user cyrus --auth plain localhost maybe you should try this... did you try to login using pop ? here is an example: mail:/ # telnet localhost pop3 Connected to localhost. Escape character is '^]'. +OK mailserver Cyrus POP3 v2.1.4 server ready <1669253611.1021282381@mailserver> user cyrus +OK Name is a valid mailbox pass mypassword -ERR [SYS/PERM] Unable to open maildrop quit +OK Connection closed by foreign host. mail:/ # This helped me to locate the errors source. Here there is an error because the user cyrus doesn't have an Imap mailbox, but there is no user/authentification error. Best regards, Alexandre Suter Scott M Likens wrote: > How about /var/log/messages or /var/log/syslog. Either one of those > files > > I'm looking for what syslogd is logging, because Cyrus should be > giving error messages and we need to find out what those are. > > Saslauthd is required for PAM authentication, LDAP, etc etc. Unless > you use the DB plaintext file /etc/sasldb2 you are required to run the > 'pw check daemon' which in SASLv2 is saslauthd. > > I'm assuming you are using LDAP still, so you would do saslauthd -a pam > > Althought you can try 2.1.3-BETA's LDAP support built in. Might work > better. > > > > --On Monday, May 13, 2002 8:30 AM +0800 Jim Worke <[EMAIL PROTECTED]> > wrote: > >> So sorry. I'm new to cyrus imap. >> >> My log is empty (I'm looking at /var/imap/log directory and >> /var/log/imapd.log file. In Redhat, I can't find /var/adm directory). >> And I don't know how to increase the debug level. That's why I don't >> know what's happenning...... >> >> I didn't have saslauthd running. I followed the Cyrus-IMAP HowTo and >> there's no mention about this? >> >> On Monday 13 May 2002 7:50 am, Scott M Likens wrote: >> >>> Can you please give us more detail. >>> >>> Like how about what error messages in /var/adm/messages >>> >>> Why did it fail to authenticate, no saslauthd running, unable to >>> access a >>> directory... >>> what? >>> >>> --On Monday, May 13, 2002 7:35 AM +0800 Jim Worke <[EMAIL PROTECTED]> >>> wrote: >>> > I've set up my RedHat 7.3 box with LDAP, authenticating users >>> through >>> > PAM. I've created the cyrus user in /etc/passwd (as with my >>> postfix, >>> > root etc users). >>> > >>> > I've changed cyrus's password (but not sasldbpasswd, because I don't >>> > use /etc/sasldb. I authenticate through PAM). >>> > >>> > Here's my /etc/imapd.conf: >>> > configdirectory: /var/imap >>> > partition-default: /var/spool/imap >>> > admins: cyrus >>> > allowanonymouslogin: no >>> > >>> ># To use the PAM for authentication (but not /etc/passwd or shadow), >>> > change # the following line to specify "pam" instead of "sasldb". >>> > sasl_pwcheck_method: pam >>> > >>> > When I run (as user cyrus) "cyradm localhost", it gives me an error: >>> > cyradm: cannot authenticate to server with as cyrus >>> > >>> > Did I miss something? >> >> >> > > > >