Sir,

The tcpdump does not show any query coming fm sqwebmail server.

[1] On the ldap server

--authdameon.ldap is running ok
(/usr/lib/courier-imap/libexec/authlib/authdaemond.ldap)
--/usr/lib/courier-imap/etc/pop3d  uses AUTHMODULES="authdaemon"
--/usr/lib/courier-imap/etc/authdaemonrc uses authmodulelist="authldap"

[2] On Sqwebmail server

authdaemon is running
(/usr/local/share/sqwebmail/libexec/authlib/authdaemon)

I configured sqwebmail as below:

1.
./configure --with-db=db --enable-autopurge=10 --with-defaultlang=en --enabl
e-cgibindir=/var/www/cgi-bin --enable-bannerprog=program --with-maxargsize=1
0000000 --with-maxmsgsize=6000000  --with-ispell=/usr/bin/ispell

I followed the steps as below.

2.make configure-check
3. umask  022
4. make
5. set cron job that runs at regular intervals: su -c
"/usr/local/share/sqwebmail/cleancache.pl" bin
6. etc/rc.d/init.d/authdaemond stop/start: startup script for authdameond
for sqwebmail
7. make install-configure

How do i debug ldap? Pl suggest.

Regards,

Suhag

 ----- Original Message -----
From: "Brian Candler" <[EMAIL PROTECTED]>
To: "suhag" <[EMAIL PROTECTED]>
Cc: "Peters, Michael D." <[EMAIL PROTECTED]>; "[EMAIL PROTECTED] Com
(E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 4:05 PM
Subject: Re: [sqwebmail] can not login thro Sqwebmail


> 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