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

Brian Candler <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
On Thu, Apr 01, 2004 at 11:37:37PM +0800, maoyaowu wrote:
>    i can not resolve the problem , can sqwebmail print some debug
>    information  to a log file ?

Unfortunately, not yet. But what you can do is turn on debugging at your
LDAP server, check that queries are being received there, and that they are
the right ones.

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

No, you won't. This is only used for the directory search function within
sqwebmail (which is only available after a user has logged in). It is not
used for the login itself.

I suggest you try:

# ps auxwww | grep authdaemond

Does it have 5 or 6 copies of "authdaemond.ldap" running? If it is something
else, e.g. "authdaemond.mysql", then set

version="authdaemond.ldap"

in authdaemonrc.

Regards,

Brian.
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.