login failed in cyradm

Ramprasad A Padmanabhan ramprasad at netcore.co.in
Fri Jul 11 04:28:58 EDT 2003


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030711/20086ca4/attachment.html


More information about the Info-cyrus mailing list