Hello;

  I've been struggling with getting courier-imap to authenticate against
ldap. Or, more accurately, finding out what's happening. I'm using qmail
as the mta, which is delivering mail normally (well, almost, but that's
another issue).

Here are some relevant entries from authldaprc:

   LDAP_SERVER  localhost
   LDAP_PORT    389
   LDAP_BASEDN  dc=wedgeweed,dc=org
   LDAP_BINDDN  cn=courier,dc=wedgeweed,dc=org
   LDAP_BINDPW  <plain text, corresponding to crypt userPassword for
                 cn=courier,dc=wedgeweed,dc=org>
   LDAP_TIMEOUT 5
   LDAP_AUTHBIND        0 (or 1, i've tried both and neither work)
   LDAP_MAIL    mail
   LDAP_DOMAIN  wedgeweed.org
   LDAP_GLOB_UID        vmail
   LDAP_GLOB_GID        vmail
   LDAP_HOMEDIR mailMessageStore
   LDAP_MAILDIR mailMessageStore
   LDAP_CRYPTPW userPassword
   LDAP_DEREF   never
   LDAP_TLS     0

When I try to connect to the pop server, I provide the correct username
and password, but the auth is refused, and the logs just have the
following:

   Apr 22 22:17:37 chavez courierpop3login: Connection, ip=[::ffff:127.0.0.1]
   Apr 22 22:17:46 chavez courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
   Apr 22 22:17:47 chavez courierpop3login: Disconnected, ip=[::ffff:127.0.0.1]

The same happens for imap. I've tried to turn on OpenLDAP (2.0.34)'s
logging, but nothing is showing up (this applies to all ldap lookups,
even those that work -- any ideas for turning this on? the '-s' option
didn't work...).

This is one of the last things that's stopping my setup from working,
and it would be really great to have it all finished. ;-)

b.


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

Reply via email to