Sir,

I certainly need ur help so i'll not touch NFS till it comes into picture.

The sqwebmail server runs on RedHat Linux 6.2 having openldap-2.0.7-14
installed. I tried to upgrade it to
openldap-2.1.22-2, but there r no. of dependencies. So i kept it as it is.

# make configure-check
SqWebMail CGI will be installed in /var/www/cgi-bin
Images will be installed in /var/www/html/webmail
make[1]: Entering directory `/usr/local/src/sqwebmail-3.5.3/sqwebmail'
URL to the image directory is /webmail
make[1]: Leaving directory `/usr/local/src/sqwebmail-3.5.3/sqwebmail'
============================================================

#ls -l /usr/local/share/sqwebmail/libexec/authlib/authdaemond
-rwxr-xr-x    1 root     root          407 Jul 31 12:19
/usr/local/share/sqwebmail/libexec/authlib/authdaemond
============================================================

# cat /usr/local/share/sqwebmail/libexec/authlib/authdaemond
#! /bin/sh

DIR=`dirname $0`

AUTHDAEMOND=authdaemond.plain
if test -x $DIR/authdaemond.ldap
then
        AUTHDAEMOND=authdaemond.ldap
fi

if test -x $DIR/authdaemond.mysql
then
        AUTHDAEMOND=authdaemond.mysql
fi

if test -x $DIR/authdaemond.pgsql
then
        AUTHDAEMOND=authdaemond.pgsql
fi

. /usr/local/share/sqwebmail/authdaemonrc
if test "$version" != ""
then
        AUTHDAEMOND="$version"
fi

exec $DIR/$AUTHDAEMOND $1
============================================================

When i enter a username & passwd at
http://tesmail.domain.com/cgi-bin/sqwebmail,
the error it gives "INVALID USER ID OR PASSWORD Please try again."

The Apache access log shows
10.10.10.1 - - [31/Jul/2003:14:49:10 +0530] "POST /cgi-bin/sqwebmail
HTTP/1.1" 200 3615
============================================================

When i run tcpdump on my LDAP server, it doesnt show anything except below
when i try to login
# tcpdump -i eth0 -n -s1500 -x tcp port 389
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0

============================================================

rgds,

Suhag


----- Original Message -----
From: "Brian Candler" <[EMAIL PROTECTED]>
To: "suhag" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 2:28 PM
Subject: Re: [sqwebmail] can not login thro Sqwebmail


> On Thu, Jul 31, 2003 at 02:01:01PM +0530, suhag wrote:
> > Hi,
> >
> > I installed rpm of openldap-2.0.7-14, openldap-clients-2.0.7-14,
> > openldap-devel-2.0.7-7 on the sqwebmail server.
>
> Those are ancient! They may or may not work.
>
> > # make configure-check
>
> Show us the output of that command.
>
> > Now when i run "/usr/local/share/sqwebmail/libexec/authlib/authdaemond
> > start" , it starts authdaemond.pgsql instead of authdaemond.ldap!!!
>
> Show us the output of:
>
> ls -l /usr/local/share/sqwebmail/libexec/authlib/authdaemond
> cat /usr/local/share/sqwebmail/libexec/authlib/authdaemond
>
> > Even after manually starting
> > authdaemond.ldap, can not login to sqwebmail.
>
> So what error are you seeing now? Are you getting anything in your Apache
> log files? Does 'tcpdump' show any LDAP traffic when you login?
>
> > On my qmail/ldap server, openldap-1.2.9-6 & openldap-devel-1.2.9-6 r
> > installed. How NFS can help in this situation. Pl suggest.
>
> NFS is nothing to do with authentication; sqwebmail will not attempt to
> access the contents of the mailbox until you have authenticated.
>
> If you won't take this one step at a time, I will not help you.
>
> Brian.
>
>


Reply via email to