Hello,
i want to configure an courier-imap+qmail with authentication to a LDAP server.
i use qmail-1.03, the qmail-ldap-1.03-20011001a.patch patch and openldap
from the RH7.2 with courier-imap courier-imap-1.4.1-1.7.2 and
courier-imap-ldap-1.4.1-1.7.2
I then configure qmail with one virtual user vmail. The server works well and the
authentication
to the LDAP server is fine.
But when i configure the courier-imap server, the authentication is bad. I always have
"login or password incorrect" (if i use gq for example, i can see the user account).
Now i don't know what to do :-((
Thanks for your help
--
J�r�me
My configuration of courier is:
authdaemonrc:
---------------------------------
authmodulelist="authldap"
---------------------------------
authldaprc:
---------------------------------
LDAP_SERVER 127.0.0.1
LDAP_PORT 389
LDAP_BASEDN dc=domain,dc=com
LDAP_BINDDN cn=root,dc=domain,dc=com
LDAP_BINDPW coucou
LDAP_TIMEOUT 5
LDAP_MAIL mail
LDAP_DOMAIN domain.com
LDAP_GLOB_UID vmail
LDAP_GLOB_GID vmail
LDAP_HOMEDIR mailMessageStore
LDAP_MAILDIR mailMessageStore
LDAP_FULLNAME cn
LDAP_CRYPTPW userPassword
LDAP_DEREF never
LDAP_TLS 0
---------------------------------
and sldap.conf:
---------------------------------
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
include /etc/openldap/schema/qmail.schema
access to attr=userPassword
by dn="cn=root,dc=domain,dc=com" write
by dn="cn=manager,dc=domain,dc=com" write
by dn="cn=courier,dc=domain,dc=com" read
by self write
by * auth
access to *
by dn="cn=root,dc=domain,dc=com" write
by dn="cn=manager,dc=domain,dc=com" write
by dn="cn=courier,dc=domain,dc=com" read
by self read
by anonymous read
database ldbm
suffix "dc=domain,dc=com"
rootdn "cn=root,dc=domain,dc=com"
rootpw coucou
directory /var/lib/ldap
index cn,sn,uid pres,eq
index mail,mailAlternateAddress eq
index objectClass eq
---------------------------------
