Hi,<br><br>I need to <span id="result_box" class="" lang="en"><span class="">authenticate</span></span> users from LDAP. Only mod_xml_ldap has example (<a href="http://git.freeswitch.org/git/freeswitch/tree/src/mod/xml_int/mod_xml_ldap">http://git.freeswitch.org/git/freeswitch/tree/src/mod/xml_int/mod_xml_ldap</a> and <a href="http://article.gmane.org/gmane.comp.telephony.freeswitch.user/6974">http://article.gmane.org/gmane.comp.telephony.freeswitch.user/6974</a>), so I tried to configure it:<br>
<br>&lt;configuration name=&quot;xml_ldap.conf&quot;&gt;<br>  &lt;bindings&gt;<br>    &lt;binding name=&quot;directory&quot;&gt;<br>      &lt;param name=&quot;basedn&quot; value=&quot;dc=home&quot;/&gt;<br>      &lt;param name=&quot;filter&quot; value=&quot;(&amp;(objectClass=person)(telephoneNumber=%s))&quot; bindings=&quot;directory&quot;/&gt;<br>
      &lt;param name=&quot;url&quot; value=&quot;ldap://localhost&quot;/&gt;<br>      &lt;param name=&quot;binddn&quot; value=&quot;cn=root,dc=home&quot;/&gt;<br>      &lt;param name=&quot;bindpass&quot; value=&quot;rootpwd&quot;/&gt;<br>
      &lt;trans&gt;<br>        &lt;tran name=&quot;id&quot; mapfrom=&quot;telephoneNumber&quot;/&gt;<br>        &lt;tran name=&quot;password&quot; mapfrom=&quot;telephoneNumber&quot;/&gt;<br>      &lt;/trans&gt;<br>    &lt;/binding&gt;<br>
  &lt;/bindings&gt;<br>&lt;/configuration&gt;<br><br>Next I tried to authenticate user with login 123 and password 123. Ldif looks like:<br><br>dn:cn=user0,ou=users,dc=home<br>sn:user0<br>telephoneNumber: 123<br>objectClass: person<br>
<br>Authentication <span id="result_box" class="" lang="en"><span class="">succeeded</span></span>, but authentication for user with login 123 and password 321 <span id="result_box" class="" lang="en"><span class="">succeeded</span></span> too. Authentication for user with login 321 failed. <br>
<br>So, my filter configuration works fine, but I can&#39;t use password in it. I need to use &lt;trans&gt;. What is wrong in my configuration?<br><br>--<br>Regards,<br>Eugene Prokopiev<br>