I tried both, to no avail.  I've included some lines from auth.log that I forgot
to paste last time.  Also, FYI, I'm using FreeBSD 4.5.

--- login attempts ---
bash-2.05a$ cyradm --user cyradm --auth login localhost
IMAP Password:
              Login failed: authentication failure at
/usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
cyradm: cannot authenticate to server with login as cyradm
bash-2.05a$ cyradm --user cyradm --auth plain localhost
Password:
IMAP Password:
              Login failed: authentication failure at
/usr/local/lib/perl5/site_perl/5.6.1/mach/Cyrus/IMAP/Admin.pm line 78
cyradm: cannot authenticate to server with plain as cyradm
perl in free(): warning: chunk is already free

--- auth.log corresponding lines ---
Feb 12 08:07:51 fs1 saslauthd[4368]: DEBUG: auth_pam: pam_acct_mgmt failed: User
not known to the underlying authentication module
Feb 12 08:07:51 fs1 saslauthd[4368]: AUTHFAIL: user=cyradm service=imap realm=
[PAM acct error]
Feb 12 08:07:51 fs1 imapd[31372]: authentication failed
Feb 12 08:08:13 fs1 perl: All-whitespace username.
Feb 12 08:08:13 fs1 perl: No worthy mechs found
Feb 12 08:08:16 fs1 saslauthd[4369]: DEBUG: auth_pam: pam_acct_mgmt failed: User
not known to the underlying authentication module
Feb 12 08:08:16 fs1 saslauthd[4369]: AUTHFAIL: user=cyradm service=imap realm=
[PAM acct error]
Feb 12 08:08:16 fs1 imapd[31378]: authentication failed


Quoting Daniel Yu <[EMAIL PROTECTED]>:

> Try cyradm --user mailadmin --auth login localhost or cyradm --user
> mailadmin --auth plain localhost
> 
> -----Original Message-----
> From: Justin Wood [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, February 11, 2002 5:45 PM
> To: [EMAIL PROTECTED]
> Subject: cyradm authentication
> 
> 
> I just blew away my 2.0.16 install and replaced it with 2.1.1.  I am
> using saslauthd with pam to authenticate, and have it working fine for
> imapd and timsieved.  However, I can't authenticate to cyradm.  I get
> the following in syslog:
> 
> Feb 11 15:36:20 fs1 imapd[4913]: badlogin:
> fs1.p.flipdog.com[10.69.2.71]
> plaintext cyradm SASL(-13): authentication failure: checkpass failed
> 
> My pam is configured to use ldap to authenticate, and I see in my ldap
> logs that it's finding the user cyradm just fine.  Am I missing
> something simple here?  Has anyone else had this problem?
> 
> Thanks in advance, 
> Justin.
> -- 
> ----------------------------------------------------------
> Justin Wood                           [EMAIL PROTECTED]
> Systems Administrator
> FlipDog.com   
           http://www.flipdog.com/
> ----------------------------------------------------------
> 
> 
> 



---------------------------------------------------
Justin Wood                      [EMAIL PROTECTED]
Systems Administrator
FlipDog.com                 http://www.flipdog.com/
---------------------------------------------------

Reply via email to