Hi,<br><br>#1 I am using ldap that is deployed in a different box. I am giving the connection url as ldaps://ip:port. Is it what you are asking for? If not could you please brief me more. I start the daemon as root user and i am able to telnet to the ldap server.
<br><br>#2 Yes. I enabled logging and when running in daemon mode i get user account not found while doing ldap search but when i run in debug mode, i get the register even after the successful search for user. <br><br>Thanks and Regards,
<br>-Rajesh<br><br><div class="gmail_quote">On Jan 10, 2008 9:50 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;">
<br>My firwt guess is the user djabberd is running as when running as a<br>daemon doesn&#39;t have access to connect to the ldap server. Are you<br>connecting to a unix socket on the local system or a TCP port?<br><br>Also turn on logging and log to a file so you can better track what is
<br>causing the issue. And try running djabberd in debug mode AS the user<br>you are running djabberd as in daemon mode.<br><div><div></div><div class="Wj3C7c"><br><br>Rajesh Dharmalingam wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I am finding a problem with LDAP authentication when running djabberd as
<br>&gt; a daemon.<br>&gt;<br>&gt; I have a ldap server and the users are getting authenticated against the<br>&gt; ldap server when i run the djabberd in debug mode. With the same setup<br>&gt; and configuration, i am running the djabberd server in daemon mode, the
<br>&gt; error is user not found.<br>&gt;<br>&gt; I thought the connection to ldap server is lost somehow while running as<br>&gt; a daemon. But with the log statements, i could see that binding is also<br>&gt; successful. Only while searching for the user, its not able to find the
<br>&gt; user.<br>&gt;<br>&gt; Can you provide some info or anyone has faced similar kind of problem?<br>&gt;<br>&gt; --<br>&gt; Regards,<br>&gt; -Rajesh<br>&gt;<br>&gt; &quot;Stick to our roots and not to forget where we come from&quot;
<br></div></div></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;