Sir,
The "cat authmodulelist" shows only authdaemon. The "cat
/usr/local/share/sqwebmail/libexec/authlib/authdaemond" shows as below:
========================================================
#! /bin/sh
DIR=`dirname $0`
AUTHDAEMOND=authdaemond.plain
if test -x $DIR/authdaemond.ldapthen
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
================================================
Though it is starting authdaemond.pgsql only whenever i run
"/usr/local/share/sqwebmail/libexec/authlib/authdaemond start" !!!
In the INSTALL file, it tells to install Open LDAP development libraries. I
installed the 'openldap-1.2.13-2.i386.rpm' &
`openldap-devel-1.2.13-2.i386.rpm' .
Also i enabled the NFS on ldap server and NFS client on sqwebmail server. I
m able to mount the maildirs of ldap server on my sqwebmail client machine's
/mnt/test dir. But still could not login. What shoud i do?
rgds,
Suhag.
----- Original Message -----
From: "Brian Candler" <[EMAIL PROTECTED]>
To: "suhag" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 6:52 PM
Subject: Re: [sqwebmail] can not login thro Sqwebmail
> On Tue, Jul 29, 2003 at 06:03:28PM +0530, suhag wrote:
> > Hello Sir,
> >
> > The process it shows by 'ps -axwww | grep authdaemon' (I changed the
default
> > to 5) eventhough the /usr/local/share/sqwebmail/authdaemonrc has '
> > authmodulelist="authldap" '. Why its starting authdaemond.pgsql all the
time
> > then. Only if i manually run
> > "/usr/local/share/sqwebmail/libexec/authlib/authdaemond start" then
only it
> > starts authdaemond.ldap.
>
> "/usr/local/share/sqwebmail/libexec/authlib/authdaemond start" is the
> correct way to start authdaemond.
>
> If you do "cat /usr/local/share/sqwebmail/libexec/authlib/authdaemond" you
> will see that it will run the ldap module in preference to the others, as
> long as it's available.
>
> So:
> (1) kill all those authdaemond processes. every single one.
> (2) /usr/local/share/sqwebmail/libexec/authlib/authdaemond start
>
> Next:
> # cd /wherever/your/sqwebmail/config/files/are
> # cat authmodulelist
>
> It should contain just "authdaemon". Definitely not "authdaemond". But if
> you didn't fiddle with the configuration after installation, it should be
> OK.
>
> I strongly recommend you read the INSTALL document which comes with
> sqwebmail. For example, it says:
>
> Post-install configuration
>
> Be sure to read the notes below if you intend to use LDAP or vpopmail
> authentication.
>
> The default configuration script installs the authdaemond process that
> handles authentication. Add the following command to your system
> startup scripts so that the authentication process gets started at
> system boot: /usr/local/share/sqwebmail/libexec/authlib/authdaemond
start
>
> authdaemond stop should also be executed at system shutdown, but is
> not strictly necessary.
>
> Regards,
>
> Brian.
>
>