[Date Prev][Date Next]
Re: Error - not compiled with SASL support
if you did a vanilla install from a distro, you may be as lucky as to
find a package in this distro (such as openldap-sasl or similar), which
"converts" your LDAP server into an LDAP server, which is SASL capable.
If there is no such package, there is no way around recompilation of the
Also, have you considered upgrading or re-installing the entire system?
On 02/15/2012 12:04 PM, Gaurav Gugnani wrote:
Thks for your support.
I installed open ldap from source.
So, *the crux is:*
Q> First i need to install the cyrus-sasl package and then i need to
install the open-ldap with sasl option??
Plz confirm if my understanding is correct?
Now, my scenario is this:
In production open-ldap is already running with bind method =SIMPLE.
So, How can i switch to bind method=SASL?
I can plan for downtime, But re-compiling will take lot of time...and
its bit risky too.
Do we have any other way to implement SASL?
Thanks and Regards,
On Wed, Feb 15, 2012 at 3:52 PM, Howard Chu <email@example.com
Dieter Klünter wrote:
Am Wed, 15 Feb 2012 10:19:10 +0530
schrieb Gaurav Gugnani<gugnanigaurav@gmail.__com
I'm *trying to implement SASL on the openldap of version
First we install the openldap and then we install the necessary
packages of cyrus-sasl.
*Packages of cyrus-sasl:* (installed in below mentioned order)
After then i set up the SASL with proper ACL's (having the
also i setup the same on some other box where it running fine)
*1> *Modify /usr/lib64/sasl2/slapd.conf
*# SASL Configuration
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5*
*2> *Modify $LDAP_HOME/etc/openladp/slapd.__conf
but it throws all together different error to me:
/u01/app/openldap/product/2.4.__26/etc/openldap> ldapwhoami -Y
DIGEST-MD5 ldapwhoami: not compiled with SASL support
And similar errors for ldapsearch and other commands.
It suggests to me that some package installation is not proper.
Can any one guide me on this.
Check whether ldapwhoami is linked against libsasl2,
There is nothing to check. The error message "not compiled with SASL
support" could not be any plainer.
If he installed OpenLDAP from a distro package, then he needs to
complain to his distro provider. If he built OpenLDAP from source,
then of course it had no SASL support since he says he didn't
install SASL until *after* he installed OpenLDAP. Obviously you
can't compile with SASL support if the SASL devel packages weren't
already present at compile time.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/__project/