On Thu, Jul 31, 2003 at 03:11:54PM +0530, suhag wrote:
> 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.

If you have a spare PC, it might be worth installing a more up-to-date
system from scratch; RH6.2 is three or four years old.

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

ls -l /usr/local/share/sqwebmail/libexec/authlib/authdaemond.ldap

If it wasn't built: then

cd /path/to/source/sqwebmail
cat authlib/config.log

and go through this to work out why it didn't build LDAP support.

> 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

OK, this is good: sqwebmail is running, but it's not authenticating. However
if you're only getting authdaemond.pgsql instead of authdaemond.ldap then
that's going to be a problem...

Regards,

Brian.

Reply via email to