Query regarding LDAP Authentication while running djabberd as daemon

Rajesh Dharmalingam rajesh.dharmalingam at gmail.com
Thu Jan 10 17:20:50 UTC 2008


#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.

#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.

Thanks and Regards,

On Jan 10, 2008 9:50 PM, Edward Rudd <erudd at netfor.com> wrote:

> My firwt guess is the user djabberd is running as when running as a
> daemon doesn't have access to connect to the ldap server. Are you
> connecting to a unix socket on the local system or a TCP port?
> Also turn on logging and log to a file so you can better track what is
> causing the issue. And try running djabberd in debug mode AS the user
> you are running djabberd as in daemon mode.
> Rajesh Dharmalingam wrote:
> > Hi,
> >
> > I am finding a problem with LDAP authentication when running djabberd as
> > a daemon.
> >
> > I have a ldap server and the users are getting authenticated against the
> > ldap server when i run the djabberd in debug mode. With the same setup
> > and configuration, i am running the djabberd server in daemon mode, the
> > error is user not found.
> >
> > I thought the connection to ldap server is lost somehow while running as
> > a daemon. But with the log statements, i could see that binding is also
> > successful. Only while searching for the user, its not able to find the
> > user.
> >
> > Can you provide some info or anyone has faced similar kind of problem?
> >
> > --
> > Regards,
> > -Rajesh
> >
> > "Stick to our roots and not to forget where we come from"


"Stick to our roots and not to forget where we come from"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/djabberd/attachments/20080110/a6a75649/attachment.htm 

More information about the Djabberd mailing list