[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error - not compiled with SASL support



Am Wed, 15 Feb 2012 10:19:10 +0530
schrieb Gaurav Gugnani <gugnanigaurav@gmail.com>:

> Hello All,
> 
> I'm *trying to implement SASL on the openldap of version 2.4.26.*
> 
> First we install the openldap and then we install the necessary
> packages of cyrus-sasl.
> 
> *Packages of cyrus-sasl:* (installed in below mentioned order)
> cyrus-sasl-lib-2.1.22-5.el5_4.3.x86_64.rpm
> cyrus-sasl-devel-2.1.22-5.el5_4.3.x86_64.rpm
> cyrus-sasl-plain-2.1.22-5.el5_4.3.x86_64.rpm
> cyrus-sasl-2.1.22-5.el5_4.3.x86_64.rpm
> cyrus-sasl-ldap-2.1.22-5.el5_4.3.x86_64.rpm
> cyrus-sasl-md5-2.1.22-5.el5_4.3.x86_64.rpm
> 
> After then i set up the SASL with proper ACL's (having the steps and
> also i setup the same on some other box where it running fine)
> *Steps:*
> *1> *Modify /usr/lib64/sasl2/slapd.conf
>      *# SASL Configuration
>      pwcheck_method: auxprop
>      auxprop_plugin: slapd
>      mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5*
> *2>  *Modify $LDAP_HOME/etc/openladp/slapd.conf
>       *password-hash  {CLEARTEXT}
>       authz-regexp uid=(.*),cn=DIGEST-MD5,cn=auth
> uid=$1,ou=System,o=xyz*
> 
> 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,
ldd ldapwhoami


-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53Â37'09,95"N
10Â08'02,42"E