Hi,<br><br>Thanks for the updates. I removed the LDAPMethod and tried, the user is in &quot;Connecting&quot; status. The debug log is:<br><br>DJabberd::Connection::ClientIn=ARRAY(0x8ee73ac):&nbsp; Cipher `(NONE)&#39;<br>3909 DEBUG 
DJabberd.Connection.XML.ClientIn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 &gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;stream:stream from=&#39;<a href="http://abc.com">abc.com</a>&#39; id=&quot;efe1bd9d700c68ca04de306be9a5bbd2c051a785&quot; version=&#39;
1.0&#39;&nbsp; xmlns:stream=&quot;<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>&quot; xmlns=&quot;jabber:client&quot;&gt;&lt;stream:features&gt;&lt;auth xmlns=&#39;<a href="http://jabber.org/features/iq-auth&#39;/">
http://jabber.org/features/iq-auth&#39;/</a>&gt;&lt;/stream:features&gt;<br>3909 DEBUG DJabberd.Connection.XML.ClientIn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 &lt; &lt;iq type=&#39;get&#39; id=&#39;purpled510548c&#39;&gt;&lt;query xmlns=&#39;jabber:iq:auth&#39;&gt;&lt;username&gt;abc&lt;/username&gt;&lt;/query&gt;&lt;/iq&gt;
<br>3909 INFO&nbsp; DJabberd.Connection.XML.ClientIn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;iq type=&#39;result&#39; id=&#39;purpled510548c&#39;&gt;&lt;query xmlns=&#39;jabber:iq:auth&#39;&gt;&lt;username&gt;&lt;/username&gt;&lt;password/&gt;&lt;resource/&gt;&lt;/query&gt;&lt;/iq&gt;
<br>3909 DEBUG DJabberd.Connection.XML.ClientIn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 &lt; &lt;iq type=&#39;set&#39; id=&#39;purpled510548d&#39;&gt;&lt;query xmlns=&#39;jabber:iq:auth&#39;&gt;&lt;username&gt;abc&lt;/username&gt;&lt;resource&gt;Home&lt;/resource&gt;&lt;password&gt;abc&lt;/password&gt;&lt;/query&gt;&lt;/iq&gt;
<br><br>One clarification, there is no change from client side except that we
need to give the user name/password of what is available in the ldap?<br><br>Regards,<br>-Rajesh<br><br><div class="gmail_quote">On Dec 11, 2007 7:46 PM, Edward Rudd &lt;<a href="mailto:erudd@netfor.com">erudd@netfor.com
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Rajesh Dharmalingam wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I am trying to add the ldap plugin.
<br>&gt;<br>&gt; The server configuration is<br>&gt; &nbsp; &lt;Plugin DJabberd::Authen::LDAP&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPURI &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ldap://192.168.1.11/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPBindDN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dc=abc, dc=com<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPBindPW &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;test
<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPBaseDN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dc=abc,dc=com<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPFilter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(&amp;(inetAuthorizedServices=jabber)(uid=&quot;%d&quot;))<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; #LDAPFilter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(&amp;(inetAuthorizedServices=jabber)(uid=&quot;%u&quot;))
<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; LDAPMethod &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rebind<br>&gt; &nbsp; &lt;/Plugin&gt;<br>&gt;<br></div>[snip]<br><div class="Ih2E3d">&gt;<br>&gt; The debug log is<br>&gt; Use of uninitialized value in pattern match (m//) at<br>&gt; /usr/local/chat/djabberd/DJabberd/../DJabberd-
Authen-LDAP-0.02/lib/DJabberd/Authen/LDAP.pm<br>&gt; line 101, &lt;DATA&gt; line 228.<br>&gt; 32599 ERROR DJabberd.Authen.LDAP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Invalid LDAP<br>&gt; Authentication Method<br>&gt; Configuration error on line 44: Invalid LDAP Authentication Method at
<br>&gt; /usr/local/chat/djabberd/DJabberd/../DJabberd-Authen-LDAP-0.02/lib/DJabberd/Authen/LDAP.pm<br>&gt; line 105<br><br></div>My guess is the extra spaces on the LDAPMethod config line are not taken<br>into account by my code.. (oops). &nbsp;Just removing the LDAPMethod line
<br>will fix it (since there is only one option it just happens to be the<br>default)<br><br>And, I never actually tested anonymous binding, so it may be broken.<br>I&#39;ll have to check into that.<br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Regards,<br>-Rajesh<br><br>&quot;Stick to our roots and not to forget where we come from&quot;