Thanks for the answer,
I tried to add the line to my /etc/authldaprc
LDAP_FILTER (objectClass=*)
(I have not found this attrib on comment) ... no work
Then, I tried the line
LDAP_DOMAIN test02.test.com
no work again :(
Is it possible to increase log level ?
Where can I see log of courier-imap ?
(probably /var/log/syslog but I only see a "login failed")
NB: The ldap directory is correctly requested because I can see the request
"(login=mat)" in the log of OpenLDAP
On Wed, 19 Mar 2003 11:38:36 +0100
"Matthieu Turpault" <matt...@comelis.fr> wrote:
Hi lists,
I try to authenticate my user with a LDAP directory.
--------------- /etc/authldaprc -------------------------
LDAP_SERVER ldap.test02.test.com
LDAP_PORT 389
LDAP_BASEDN id=2.3.3,id=2.3,id=2
LDAP_BINDDN cn=manager,id=2
LDAP_BINDPW <my password>
LDAP_TIMEOUT 25
LDAP_MAIL login
LDAP_HOMEDIR homeDirectory
LDAP_MAILDIR mailDir
LDAP_FULLNAME cn
LDAP_CLEARPW clearPassword
LDAP_CRYPTPW userPassword
LDAP_UID uidNumber
LDAP_GID gidNumber
LDAP_DEREF never
LDAP_CLEARPW clearPassword
LDAP_CRYPTPW userPassword
LDAP_UID uidNumber
LDAP_GID gidNumber
LDAP_DEREF never
LDAP_TLS 0
--------------- END - /etc/authldaprc -------------------------
You probably need to specifically define LDAP_FILTER, especially as you
are not using CourierMailAccount. You may also need to explicity define
LDAP_DOMAIN as null, but try the filter first.