qmail-ldap patch 20040301a & sqwebmail-3.5.3 authldap did not work.

"maoyaowu" <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <004a01c417ff$4504ac50$fe00a8c0@hbbomaoywm>
Dear all,
   i have install qmail-1.0.3 & qmail-ldap-20040301a.patch on 
1.qmail-1.0.3
2.qmail-ldap-20040301a.patch
3.openldap-2.0.27-8
4.redhat linux 9.0
  the base system(qmail + ldap support )is fine, i can use smtp ,pop3  and my openldap is work too.

now i install sqwebmail-3.5.3 with ldap auth.

my install :
1.  ./configure 
2. make configure-check
3. make
4. make check
5. make install-strip       
6.make install-configure 
it seems every is ok.  

i can access the login page at http://localhost/cgi-bin/sqwebmail
and "/usr/local/share/sqwebmail/libexec/authlib/authdaemond start" is in my /etc/rc.d/rc.local file.


but i can not login success, it's seem the authldap module did not work .
my authdaemonrc file is :
###########################
authmodulelist="authldap"
authmodulelistorig="authcustom authcram authuserdb authvchkpw authldap authpam"
daemons=5
version=""
authdaemonvar=/usr/local/share/sqwebmail/var/authdaemon
############################################################################
i bypass the comment line.

my authmodulelist file is:
#############
authdaemon
#################################
my authldaprc is correct.
i use  ldapsearch can find every ojbect in my qmail-ldap ldbm directory.

i can not resolve the problem , can sqwebmail print some debug information  to a log file ?
i replace /usr/local/share/sqwebmail/ldapsearch with 
######################
echo "$@" >> /tmp/sqwebmail.log
exec /usr/bin/ldapsearch -l 60 -z 20 "$@"
############################################
but i can not find the /tmp/sqwebmail.log file after several login via sqwebmail.

my openldap library is in /usr/lib .
what's the problem????????????????
i need help 
thanks

best regards!


toby
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.