Hi,<br><br>Thanks for the updates. I removed the LDAPMethod and tried, the user is in "Connecting" status. The debug log is:<br><br>DJabberd::Connection::ClientIn=ARRAY(0x8ee73ac): Cipher `(NONE)'<br>3909 DEBUG
DJabberd.Connection.XML.ClientIn 1 > <?xml version="1.0" encoding="UTF-8"?><stream:stream from='<a href="http://abc.com">abc.com</a>' id="efe1bd9d700c68ca04de306be9a5bbd2c051a785" version='
1.0' xmlns:stream="<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>" xmlns="jabber:client"><stream:features><auth xmlns='<a href="http://jabber.org/features/iq-auth'/">
http://jabber.org/features/iq-auth'/</a>></stream:features><br>3909 DEBUG DJabberd.Connection.XML.ClientIn 1 < <iq type='get' id='purpled510548c'><query xmlns='jabber:iq:auth'><username>abc</username></query></iq>
<br>3909 INFO DJabberd.Connection.XML.ClientIn <iq type='result' id='purpled510548c'><query xmlns='jabber:iq:auth'><username></username><password/><resource/></query></iq>
<br>3909 DEBUG DJabberd.Connection.XML.ClientIn 1 < <iq type='set' id='purpled510548d'><query xmlns='jabber:iq:auth'><username>abc</username><resource>Home</resource><password>abc</password></query></iq>
<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 <<a href="mailto:erudd@netfor.com">erudd@netfor.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;"><div class="Ih2E3d">Rajesh Dharmalingam wrote:<br>> Hi,<br>><br>> I am trying to add the ldap plugin.
<br>><br>> The server configuration is<br>> <Plugin DJabberd::Authen::LDAP><br>> LDAPURI ldap://192.168.1.11/<br>> LDAPBindDN dc=abc, dc=com<br>> LDAPBindPW test
<br>> LDAPBaseDN dc=abc,dc=com<br>> LDAPFilter (&(inetAuthorizedServices=jabber)(uid="%d"))<br>> #LDAPFilter (&(inetAuthorizedServices=jabber)(uid="%u"))
<br>> LDAPMethod rebind<br>> </Plugin><br>><br></div>[snip]<br><div class="Ih2E3d">><br>> The debug log is<br>> Use of uninitialized value in pattern match (m//) at<br>> /usr/local/chat/djabberd/DJabberd/../DJabberd-
Authen-LDAP-0.02/lib/DJabberd/Authen/LDAP.pm<br>> line 101, <DATA> line 228.<br>> 32599 ERROR DJabberd.Authen.LDAP Invalid LDAP<br>> Authentication Method<br>> Configuration error on line 44: Invalid LDAP Authentication Method at
<br>> /usr/local/chat/djabberd/DJabberd/../DJabberd-Authen-LDAP-0.02/lib/DJabberd/Authen/LDAP.pm<br>> 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). 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'll have to check into that.<br><br></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"