SASL and LDAP problem

Henry B. Hotz hotz at jpl.nasa.gov
Thu Jul 23 20:53:01 EDT 2009


Can't you do a ktrace/truss/dtrace/Linux-equivalent and see what file  
it's trying to read?

On Jul 23, 2009, at 10:38 AM, Dan White wrote:

>
>>> 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:
>
> http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/2008-January/001185.html
> http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/2008-February/002351.html
>
> 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

------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz at jpl.nasa.gov, or hbhotz at oxy.edu





More information about the Cyrus-sasl mailing list