Hi 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 saslauthd.
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