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.

Reply via email to