On 02/02/2012 10:40 AM, Gaurav Gugnani wrote:
Hello All,

After some more research into it and reading some more links:
http://www.linuxtopia.org/online_books/network_administration_guides/ldap_administration/sasl_SASL_Authentication.html
http://tldp.org/HOWTO/LDAP-HOWTO/sasl.html

I did some more steps like-
Step-1:
In the file slapd.conf i add following lines:
   password-hash   {CLEARTEXT}
   sasl-regexp uid=(.*),cn=DIGEST-MD5,cn=auth uid=$1,ou=System,o=db

And perform ldapsearch in different way:
ldapsearch -Y DIGEST-MD5 -U sasluser2 -b 'o=db'

But again got error as:
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
        additional info: SASL(-4): no mechanism available: No worthy mechs found
Did you installed the sasl modules? (On debian the package name is libsasl2-modules )


Please help in getting out of this issue.

Thanks and Regards,
Gaurav Gugnani



-- 
Raffael Sahli
public@raffaelsahli.com