<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<span id="result_box" class="long_text short_text"><span
 style="background-color: rgb(255, 255, 255);" title="">hello thanks
for replying</span></span>
<blockquote cite="mid:20100905014331.GB15735@dan.olp.net" type="cite">That's
an unusual location for the sasldb file. Did you compile sasl? If
  <br>
so, which options did you pass to configure, and which version are you
  <br>
using?
  <br>
  <br>
</blockquote>
<br>
<span id="result_box" class="long_text"><span
 style="background-color: rgb(255, 255, 255);" title="">I compiled the
sasl'm using mandriva and installed the package via urpmi.<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);" title="">But
I found that the package does not provide support for mandriva sasldb
as the command below.</span></span><br>
<br>
[root@localhost ~]# saslauthd -v<br>
saslauthd 2.1.23<br>
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap<br>
<br>
[root@localhost ~]# <br>
<br>
<span id="result_box" class="long_text short_text"><span style=""
 title="">there should appear a "sasldb", correct?<br>
<br>
</span></span><span id="result_box" class="long_text"><span
 style="background-color: rgb(235, 239, 249);" title=""> changed the
variable </span></span><span id="result_box" class="long_text"><span
 style="background-color: rgb(235, 239, 249);" title="">SASL_AUTHMECH
for "ldap in file /etc/sysconfig/saslauthd.<br>
<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);" title="">After
that I tried to access via testsaslauth and ran track but ldapsearch
command does not work. </span><span title="">Below the configuration
files and command output sasl.<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);" title="">Any
idea where I might be wrong. </span><span
 style="background-color: rgb(255, 255, 255);" title="">I thank you</span></span><br>
<br>
<br>
cat /etc/saslauthd.conf <br>
ldap_servers: <a class="moz-txt-link-freetext" href="ldap://127.0.0.1">ldap://127.0.0.1</a><br>
ldap_port: 389<br>
ldap_version: 3<br>
ldap_referrals: no<br>
ldap_search_base: dc=exemplo,dc=com,dc=br<br>
ldap_auth_method: bind<br>
<br>
<br>
[root@localhost ~]# testsaslauthd -u user -p 123456<br>
0: OK "Success."<br>
[root@localhost ~]# <br>
<br>
<br>
[root@localhost ~]# ldapsearch -LLL -Y DIGEST-MD5 -U user cn=benjamin cn<br>
SASL/DIGEST-MD5 authentication started<br>
Please enter your password: <br>
ldap_sasl_interactive_bind_s: Invalid credentials (49)<br>
&nbsp;&nbsp;&nbsp; additional info: SASL(-13): user not found: no secret in database<br>
[root@localhost ~]#<br>
<br>
<br>
Regards.<br>
</body>
</html>