Hi guys,<br><br>Solved the problem.<br><br>Thanks,<br>-Rajesh<br><br><div class="gmail_quote">On Dec 31, 2007 11:48 AM, Rajesh Dharmalingam <<a href="mailto:rajesh.dharmalingam@gmail.com">rajesh.dharmalingam@gmail.com</a>
> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I made the authentication work for the previous post. Now, i am facing with one more problem with the following schema:
<br><br>dn: cn=rajeshtest, cn=authenticated users, cn=abc, o=<a href="http://rajesh.com" target="_blank">rajesh.com
</a><br>authenticationuserpassword: rajeshtest<br>defaultcontext: o=test,cn=abc,o=<a href="http://rajesh.com" target="_blank">rajesh.com</a><br>userPassword:: rajeshtest<br>description: rajeshtest<br>objectClass: top<br>
objectClass: authenticationuser
<br>cn: rajeshtest<br><br>configuration file:<br>
<Plugin DJabberd::Authen::LDAP><br>
LDAPURI
ldaps://ip:port/<br>
LDAPBindDN o=<a href="http://a1.com/" target="_blank">rajesh.com</a><br>
LDAPBindPW ****<br>
LDAPBaseDN
cn=authenticated users,cn=abc,o=<a href="http://a1.com/" target="_blank">rajesh.com</a><br>
LDAPFilter
(cn=%u)<br>
</Plugin><br><br>ldap change:<br> In ldap search, included the scope as sub for searching. <br><br>When i try to authenticate this user with the above mentioned configuration/changes, I am not able to login? Is there anything i need to include in filter or in base dn. Basic difference between the previous schema and this schema is, i have a default context.
<br><br>Thanks and Regards,<br>-Rajesh<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Dec 28, 2007 8:08 PM, Rajesh Dharmalingam <<a href="mailto:rajesh.dharmalingam@gmail.com" target="_blank">rajesh.dharmalingam@gmail.com
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Hi,<br>
<br>
I have a user who needs to be authenticated:<br>
<br>
The ldap schema looks as below:<br>
dn: cn=a, cn=authenticated users, cn=abc, o=<a href="http://a1.com" target="_blank">a1.com</a><br>
authenticationuserpassword: ****<br>
userPassword:: #######<br>
description: test<br>
objectClass: top<br>
objectClass: authenticationuser<br>
cn: a<br>
<br>
As mentioned below, I provided in the djabberd conf file, and tried to login using the user a but the result is - user is not
found...<br>
<Plugin DJabberd::Authen::LDAP><br>
LDAPURI
ldap://ip:port/<br>
LDAPBindDN o=<a href="http://a1.com" target="_blank">a1.com</a><br>
LDAPBindPW ****<br>
LDAPBaseDN
cn=authenticated users,cn=abc,o=<a href="http://a1.com" target="_blank">a1.com</a><br>
LDAPFilter
(cn=%u)<br>
</Plugin><br>
<br>
When i give the same from a ldap browser as below, i am able to find the dn for
this user<br>
Search dn: cn=authenticated users,cn=abc,o=<a href="http://a1.com" target="_blank">a1.com</a><br>
Filter: cn = a<br>
I get the dn for this user. <br>
<br>
I tried with adding scope as 'sub' in the ldap plugin which gives the same
result. <br>
<br>
One more thing is, SSL is required for ldap. so i did the required changes to
the ldap plugin in djabberd and tried. I am getting the same result that
"account a not found".. <br>
<br>
Can you provide some input?<br>
<br>
Regards,<br>
-Rajesh</p>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Regards,<br>-Rajesh<br><br>"Stick to our roots and not to forget where we come from"
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>"Stick to our roots and not to forget where we come from"