I LOVE YOU ALL!!! I've been working on this problem with IMP/MD5/php 4
for 3 days now to no avail. Sure enough I removed sasldb and boom! It
worked. 

BTW, does anyone know how to get cyradm to use pam to authenticate an
admin (when I try to tell it to use pam, it wont let me in). The only
way Ive been able to use cyradm was to saslpasswd the administrator user
and then auth off of sasl for that user (but obviously I cant do that
anymore If I want IMP to work ).

Thanks,
Lee


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 1:59 AM
To: Robert Scussel
Cc: [EMAIL PROTECTED]
Subject: Re: Webmail for Cyrus Imap ?

Robert Scussel schrieb am Wed, Dec 12, 2001 at 09:51:21PM -0500:
* Thanks, first of all for the help getting cyrus working with 
* saslauthd-pam...
* 
* I have been trying for days now to get the latest IMP(3.0) with the 
* latest Horde(2.0) to work with cyrus.  The problem now is that imp
tries 
* to use the protocol imap to logon, which then tries to logon via
* 
*       CRAM-MD5, sasldb2, and even kerberos
* 
* It doesn't appear to try pam/plain/saslauthd login.


Most webmailers I saw (e.g. aeromail, twig) did a CAPABILITY upon
connect
and tried to do the most secure authentication first.  So if your server
lists CRAM-MD5 in its capability list, the webmailer will try that
before
trying PLAIN.

We debugged this down to the code of imap-2001 which is the library that
is mostly used by PHP for IMAP issues.  So if you set up a PHP
webmailer, 
you can't help this behaviour because its hardcoded into the lib.

We finally did a very nasty workaround: As we use LDAP-via-PAM as
authen-
tication backend, we do not need the sasldb - and when completely
removing
/etc/sasldb, Cyrus IMAP stops sending CRAM-MD5 in its capability list. 


- Birger

Reply via email to