login failed in cyradm

Simon Matter simon.matter at ch.sauter-bc.com
Fri Jul 11 08:47:21 EDT 2003


Hi,

Did you create the file /etc/sysconfig/saslauthd? You have to put
'MECH=pam' into the file and restart saslauthd, otherwise saslauthd on
RedHat 9 will default to use shadow instead of pam.

HTH
Simon

> I just installed cyrus 2.1.13  on redhat 9.0 linux
> I am using saslauthd and backend pam ldap to authenticate
>
> After making the configuration in /etc/imapd.conf and /etc/ldap.conf and
> /etc/pamd
> I am able to login to the imap server by using raw telnet commands
>
> telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK mail2.netcore.co.in Cyrus IMAP4 v2.1.13 server ready
> a1 login cyrus mypassword
> a1 OK User logged in
>
>
> But when I use cyradm I get authentication failed.
> And in syslog an error like
> perl: no worthy mechs found
>
>
> then I changed the system password of cyrus to the same as the ldap one
> Now it works
> Meaning cyradm uses system-auth for authentication.
> my /etc/pam.d/imap looks like this
>
> auth       sufficient   /lib/security/pam_ldap.so
> account    sufficient   /lib/security/pam_ldap.so
>
>
> Can anyone help me understand  why cyradm uses system-auth as the
> mechanism
>
> Thanks
> Ram
>
>
>
> ----------------------------------------------------------------
>
> NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134
>
> MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
> Fleximail: Mail Storage, Management and Relaying
> http://netcore.co.in
>
> Emergic Freedom: Linux-based Thin Client-Thick Server Computing
> http://www.emergic.com
>
> BlogStreet: Top Blogs, Neighborhoods, Search and Utilities
> http://www.blogstreet.com
>
> Rajesh Jain's Weblog on Technology: http://www.emergic.org
> ----------------------------------------------------------------
>
>





More information about the Info-cyrus mailing list