Tim Branson wrote:

I created a file in pam.d called imap

The contents are as follows:

auth            required        pam_unix2.so
account         required        pam_unix2.so

what happens if you replace the account line with:


account sufficient pam_permit.so


The error message below leads me to believe that the user's account it disabled/deactivated.




-----Original Message-----
From: Ken Murchison [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:21 PM
To: Tim Branson
Cc: '[EMAIL PROTECTED]'
Subject: Re: Login disabled user=cyrus - Installing new mail server - No w orth y mechs found


Tim Branson wrote:

> Made the changes. When I run cyradm with the following:
>
> Cyradm --user cyrus --server localhost --auth PLAIN (or LOGIN)
>
> It asks for the IMAP password. Then returns that user cyrus can't login.
>
> Here is a copy of the logfile:
>
> Dec 12 04:47:51 ms01 saslauthd[6290]: START: saslauthd 2.1.12
> Dec 12 04:47:51 ms01 saslauthd[6295]: master PID is: 6295
> Dec 12 04:47:51 ms01 saslauthd[6295]: daemon started, listening on
> /var/run/sasl2//mux
> Dec 12 04:50:13 ms01 perl: No worthy mechs found
> Dec 12 04:50:16 ms01 imapd[6305]: Login disabled user=cyrus auth=cyrus
> host=localhost [127.0.0.1]
> Dec 12 04:50:49 ms01 imapd[6312]: Login disabled user=cyrus auth=cyrus
> host=localhost [127.0.0.1]*******************************Used PLAIN here
> *********
>
> Dec 12 04:51:00 ms01 imapd[6318]: Login disabled user=cyrus auth=cyrus
> host=localhost [127.0.0.1] **********************Used Login here
> **********************


Unless the above error message is coming directly from PAM, I don't
think this is a SASL or Cyrus error message.  Did you configure PAM for
the imap service?

--
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



--
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



Reply via email to