<div dir="ltr">Dear Team,<div><br></div><div>Is LDAP authentication (MD5) supports in freeswitch 1.6.X ?</div><div><br></div><div>Last time I was tested on freeswitch 1.4.X, and below are the observations.</div><div><br></div><div><span style="font-size:13px;color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;line-height:18.2px">I am able to bind with any alise on <span class="">ldap</span> server except userPassword (MD5) alise.</span><br style="font-size:13px;color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;line-height:18.2px"><span style="font-size:13px;color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;line-height:18.2px"><br></span><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;font-size:13px;line-height:18.2px">when i bind password with userPassword , authentication fails. </span><br style="color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;font-size:13px;line-height:18.2px"><br style="color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;font-size:13px;line-height:18.2px">I done some following testing</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)">Test 1: </span></div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)">when i set openldap userPassword in md5 , in <span class="">freeswitch</span> cli i saw hash password and authentication failed. </span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)"><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)">Test 2: </span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(224,240,255)">when i set openldap userPassword in plain text, in <span class="">freeswitch</span> cli i can see plain text password and authentication success. </span><div style="font-size:12.8px"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" class=""></div><div style="font-size:12.8px"><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px">Authentication</span></font><span style="font-size:13px;color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;line-height:18.2px"> works with plain text but not for encrypted password.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:Roboto,arial,sans-serif;font-size:13px;line-height:18.2px">Configuration file:</span><br></div><div style="font-size:12.8px"><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"><configuration name="xml_ldap.conf"></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"><br></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"><bindings></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"><binding name="directory"></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <param name="basedn" value="dc=example,dc=com"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <param name="filter" value="(telephoneNumber=%d)" bindings="directory"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <param name="url" value="<span class="">ldap</span>://<a href="http://ldap.example.com/" target="_blank"><span class="">ldap</span>.example.com</a>"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <param name="binddn" value="cn=use,dc=example,dc=com"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <param name="bindpass" value="XXXX"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <trans></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <tran name="id" mapfrom="uid"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> <tran name="password" mapfrom="userPassword"/></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"> </trans></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"></binding></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"></bindings></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"><br></span></font></div><div><font color="#000000" face="Roboto, arial, sans-serif"><span style="line-height:18.2px"></configuration></span></font></div></div><div><br></div>
</div></div>