[iso-8859-2] G�czi Szabolcs writes:

> Hello,
>
> I installed the courier-imap & ldap from debian (.deb) packages.
> I cpnfigured the authdamon and authldaprc after that I restart teh
> authdaemon and imap.
> But when I want to authenticate a user from ldap I got this error:
>
> imaplogin: Connection, ip=[::ffff:195.228.148.245]
> imaplogin: LOGIN FAILED,ip=[::ffff:195.228.148.245]
>
> /etc/courier/authdameonrc:
> authmodulelist="authldap"
> daemons=5
> version=""
> authdaemonvar=/var/run/courier/authdaemon
>
> /etc/courier/authldaprc
> LDAP_SERVER             localhost
> LDAP_PORT               389
> LDAP_BASEDN             ou=people, o=example, c=com
> LDAP_BINDDN
> LDAP_BINDPW
> LDAP_AUTHBIND           1
> LDAP_MAIL               mail
> LDAP_GLOB_UID          mail
> LDAP_GLOB_GID          mail
> LDAP_HOMEDIR            homeDirectory
> LDAP_MAILDIR            mailMessageStore
> LDAP_CLEARPW            userPassword
>
> an entry from my ldap
>
> dn: uid=geza,ou=people, o=example, c=com
> objectClass: top
> objectClass: account
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: trustAccount
> uid: geza
> uidNumber: 1012
> gidNumber: 1012
> givenName: kovacs
> sn: geza
> cn: kovacs geza
> loginShell: /bin/bash
> mail: [EMAIL PROTECTED]
> mail: [EMAIL PROTECTED]
> mail: [EMAIL PROTECTED]
> mail: [EMAIL PROTECTED]
> mail: [EMAIL PROTECTED]
> gecos: kovacs ella
> shadowLastChange: 11739
> shadowMax: 30
> shadowWarning: 7
> shadowInactive: 2
> trustModel: fullaccess
> homeDirectory: /home/gella
> mailMessageStore: /var/spool/mail/szegedvaros.hu/geza
> mailQuota: 1M
>
> Any idea ?

And you have verified that:

* You have a system username and a system group name both called 'mail'.

* Their uid/gid correspond to the ownership of the referenced home
 directory and the maildir.

* You're logging in using one of the referenced E-mail addresses as the
 userid

* You're logging in using the cleartext password in the userpassword
 attribute of this LDAP record.

--
Sam


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to