On Tue, Jul 29, 2003 at 03:12:00PM +0530, suhag wrote:
> 
>     Hi all,
>     I've configured sqwebmail-3.5.3 on a machine different than the
>     qmail/imap/ldap installation.
>     I'd like users to get authenticated thro ldap. I've modified my
>    authldaprc
>     file accordincly & started the authdaemond process. But can log in.
>     Is it really possible to have such setup or do i need to put
>    sqwebmail and
>     ldap on the same machine.

No, sqwebmail and the ldap server can be on different machines - this is how
I run it.

You need to debug your authentication problem step-by-step, just saying "I
can't login" is not sufficient. Probably the best idea is to turn on
debugging on the LDAP server - then you can see whether queries are being
received, if so what they are, and what the results are.

Also:
  tcpdump -i eth0 -n -s1500 -X tcp port 389

will show you the LDAP queries (but they're BER-encoded, so you won't be
able to see easily the difference between "bind accept" and "bind fail", but
you will be able to see the search filters and attributes returned)

If no messages are getting sent across - then you need to check whether
authdaemond.ldap is running (if not, did you configure properly?) and
whether the pop3 configuration says to use authdaemon, and the authdaemonrc
configuration says to use authldap.

Regards,

Brian.

Reply via email to