[Freeswitch-dev] Openldap and freeswitch integration problem

Shisheer Teli telishisheer at gmail.com
Tue Dec 23 10:09:56 MSK 2014


Hi,

I am able to bind with any alise on ldap server except userPassword (MD5)
alise.

when i bind password with userPassword , authentication fails.

I done some following testing

 Test 1:
when i set openldap userPassword in md5 , in freeswitch cli i saw hash
password and authentication failed.

Test 2:
when i set openldap userPassword in plain text, in freeswitch cli i can see
plain text password and authentication success.
Authentication works with plain text but not for encrypted password.

Configuration file:
<configuration name="xml_ldap.conf">

<bindings>
<binding name="directory">
  <param name="basedn" value="dc=example,dc=com"/>
  <param name="filter" value="(telephoneNumber=%d)" bindings="directory"/>
  <param name="url" value="ldap://ldap.example.com"/>
  <param name="binddn" value="cn=use,dc=example,dc=com"/>
  <param name="bindpass" value="XXXX"/>
   <trans>
   <tran name="id" mapfrom="uid"/>
   <tran name="password" mapfrom="userPassword"/>
   </trans>
</binding>
</bindings>

</configuration>

Please reply ASAP...
-- 
Regards,
Shisheer T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20141223/e2ba1a7d/attachment-0001.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list