I can only assume that my pam_ldap config is okay.  I can authenticate
with other things like sieve and imap just fine.  

-Justin.

On Tue, 2002-02-12 at 10:44, Simon Matter wrote:
> Justin Wood schrieb:
> > 
> > Yes, I'm sure my cyrus user is cyradm.  I reset the password just in
> > case as well.  It appears to be finding the user from ldap properly:
> > 
> > Feb 12 08:08:16 fs1 slapd[4498]: conn=29 op=1 SEARCH RESULT tag=101
> > err=0 text=
> > Feb 12 08:08:16 fs1 slapd[4498]: conn=29 op=2 BIND
> > dn="UID=CYRADM,OU=ADMINISTRATIVE,DC=FLIPDOG,DC=COM" method=128
> 
> Hm, and your PAM LDAP configuration is okay? Because you get
> ..User not known to the underlying authentication module
> 
> Does authentication work for other sessions like pop-3?
> 
> > 
> > -Justin.
> > 
> > On Tue, 2002-02-12 at 08:37, Simon Matter wrote:
> > > "Justin G. Wood" schrieb:
> > > >
> > > > 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
> > >
> > > Are you sure your cyrus user is cyradm? Can you try
> > >
> > > cyradm --user cyrus --auth login localhost
> > >
> > > or
> > >
> > > cyradm --user cyrus --auth plain localhost
> > >
> > > And if it fails, did you set a password for the cyrus user?
> > >
> > > HTH
> > > -Simon
> > >
> > > > 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/
> > > > ---------------------------------------------------
> > >
> > > --
> > > Simon Matter              Tel:  +41 61 695 57 35
> > > Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
> > > Im Surinam 55
> > > CH-4016 Basel             [mailto:[EMAIL PROTECTED]]
> > >
> > >
> > --
> > ----------------------------------------------------------
> > Justin Wood                             [EMAIL PROTECTED]
> > Systems Administrator
> > FlipDog.com                        http://www.flipdog.com/
> > ----------------------------------------------------------
> 
> -- 
> Simon Matter              Tel:  +41 61 695 57 35
> Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
> Im Surinam 55
> CH-4016 Basel             [mailto:[EMAIL PROTECTED]]
> 
> 
-- 
----------------------------------------------------------
Justin Wood                             [EMAIL PROTECTED]
Systems Administrator
FlipDog.com                        http://www.flipdog.com/
----------------------------------------------------------

Reply via email to