SASL and LDAP problem

Dan White dwhite at
Thu Jul 23 13:38:38 EDT 2009

>> I tried to add a /usr/lib/sasl2/slapd.conf file with this inside 
>> (world readable):
>> pwcheck_method: saslauthd
>> But it seems that this file is not read. I see that ubuntu created a 
>> /etc/ldap/sasl2 directory for me but how could I know if sasl is 
>> looking in it? How does sasl know it has to look for a slapd.conf 
>> file and not openldap.conf or whatever.conf? Is it openldap which 
>> specifies the conf file to use or is it libsasl2?

I totally missed this the first time I read it. Must have not had my 
coffee yet.

Here's a link to discussion on the SASL path in Debian, which may apply 
to Ubuntu:

It's possible that Ubuntu has hard coded a path to /etc/ldap/sasl2 
(mailing list indicates that may be an old location), but you will have 
to review the build options for the slapd package to verify.

- Dan

More information about the Cyrus-sasl mailing list