Hi all,

I have installed sqwebmail with authbd and it works fine. I am now trying to
get the authldap working instead of using authdb.

If I do an authtest I get:

authtest [EMAIL PROTECTED] test
Authentication FAILED!

if I do an authinfo, I get
AUTHENTICATION_MODULES="authdaemon"
SASL_AUTHENTICATION_MODULES="PLAIN LOGIN"

contents of authmodulelist = authdaemon

A check of authdaemonrc.dist reveals this:
##NAME: authmodulelist:0
#
# The authentication modules that are linked into authdaemond.  The
# default list is installed.  You may selectively disable modules simply
# by removing them from the following list.  The available modules you
# can use are:
authmodulelist=""

authldap doesn't appear as one of the modules that authdaemond uses.

I thought it might have been to do with using an nfs share for the
authdaemon socket directory, but I've created a sym link for the authdaemon
socket directory back to a directory on the local disk.
/remote/site/webmail/test/authdaemon ->
/usr/local/share/sqwebmail/authdaemon

If I cp authdaemonrc.dist to authdaemonrc and add authmodulelist="authldap"
and restart authdaemond, I still can't authenticate.

Here are my configure options:
./configure  \
--with-authdaemon \
--with-authldap \
--with-authldaprc=/remote/site/webmail/test/authldaprc \
--with-cachedir=/remote/site/webmail/test/cache \
--without-authcustom \
--without-authuserdb \
--without-authpam \
--without-authpwd \
--without-authshadow \
--disable-utf7-folder-encoding \
--with-htmllibdir=/remote/site/webmail/test/ \
--enable-cgibindir=/remote/site/webmail/test/cgi-bin/ \
--enable-imagedir=/remote/site/webmail/test/doc/graphics/ \
--enable-imageurl=/graphics/ \
--enable-mimetypes=/local/www/etc/apache/mime.types \
--enable-webpass=no \
--enable-hardtimeout=9000 \
--enable-softtimeout=3600 \

Why doesn't authldap appear in authdaemonrc as one of the modules I can use?

Any suggestions appreciated.

Mark

Reply via email to