i have compiled courier-imap successfully using authldap module on RedHat
7.1. it looks like it's authenticating correctly but not continuing.  has
anybody had the same problem. thanks.


here is a sample session.
-----
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
A001 LOGIN user wrongpassword
A001 NO Login failed.
A001 LOGIN user correctpassword
Connection closed by foreign host.
-------
here are the logs

/var/log/messages
May  2 15:45:00 localhost authdaemond.ldap: authdaemon: modules="authldap",
daemons=5

/var/log/message with DEBUG
May  2 16:04:55 localhost authdaemond.ldap: Nombre de r�sulat:    1 
May  2 16:04:55 localhost authdaemond.ldap: DN:
uid=myuid,ou=users,o=pocketmail 
May  2 16:04:55 localhost authdaemond.ldap: after ldap_first_entry 
May  2 16:04:55 localhost authdaemond.ldap: copy_value givenname: User 
May  2 16:04:55 localhost authdaemond.ldap: copy_value userpassword:
correctpassword 
May  2 16:04:55 localhost authdaemond.ldap: before callback rc=0 
May  2 16:04:55 localhost authdaemond.ldap: after callback rc=0 

/var/log/maillog
May  2 15:45:37 localhost imapd: Connection, ip=[127.0.0.1]
May  2 15:45:48 localhost imapd: LOGIN FAILED, ip=[127.0.0.1]
May  2 15:46:18 localhost imapd: chdir: No such file or directory

service


authdaemon

authmodulelist="authldap"
authmodulelistorig="authldap"
daemons=5
version=""
authdaemonvar=/usr/local/courier-imap/var/authdaemon

authldaprc

LDAP_SERVER             auth-001
LDAP_PORT               389
LDAP_BASEDN             ou=users,o=mydom
LDAP_TIMEOUT            5
LDAP_MAIL               mail
LDAP_DOMAIN             mydom.com
LDAP_GLOB_UID           500
LDAP_GLOB_GID           500
LDAP_HOMEDIR            homedir
LDAP_FULLNAME           givenname
LDAP_CLEARPW            userpassword
LDAP_DEREF              never
LDAP_TLS                0

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to