imap and ldap

Geert Reijnders reijnders at
Thu Dec 11 10:06:40 EST 2003

Oke I tried to reconfigure cyrus-sasl with the following options
--with-ldap=/etc/ldap (because I had to give a directory)

Everything was going fine, no errors during the installation but when I executed the command saslauthd -v
I get the same options.

saslauthd 2.1.15
authentication mechanisms: getpwent rimap shadow

I don't get it. Is it the version I use because with ldap is experimental in this version I read in the help.


-----Oorspronkelijk bericht-----
Van: owner-info-cyrus at [mailto:owner-info-cyrus at] Namens Laurent Larquère
Verzonden: donderdag 11 december 2003 15:31
Aan: Geert Reijnders;info-cyrus at
Onderwerp: Re: imap and ldap

you must have a "ldap capable" saslauthd

# saslauthd -v
saslauthd 2.1.17
authentication mechanisms: getpwent pam rimap shadow ldap

to obtain this, you have to configure  --with-ldap

Geert Reijnders wrote:

>Hi all
>Again I have a question. I want to setup a mail-server and the users 
>must be retrieved from the ldap-server. I have heard from several people and read in several guides that it is possible with saslauthd -a ldap and put the following option in the imapd.conf:
>sasl_pwcheck_method: saslauthd
>But of course when I try to do that I get error messages. The first one 
>is when I execute the command saslauthd -a ldap:
>saslauthd[285] :set_auth_mech   : unknown authentication mechanism: ldap
>the solution is not by using pam because that is not an option in 
>The second one is when I try to open a mailbox in outlook express. Then 
>I get the messages that on line .... (the line where sasl_pwcheck_method is located) that the command is unknown.
>What am I missing or doing wrong? I hope anyone could help me.
>Thanks in advance
>Geert Reijnders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4731 bytes
Desc: not available
Url :

More information about the Info-cyrus mailing list