Hi,

  I am trying courier imap-1.7.0 to get authenticated
using ldap. I have tried with ldap versions 2.0.25 and
2.1.12. courier imap was compiled from the source and
ldap was automatically detected. when tried to login
into the imap using outlook express or ximian (on Red
Hat 8.0) I get login reject from the server. After
getting login reject I get the following message in
/var/log/message..

"authdaemond.ldap: ldap_simple_bind_s failed: Can't
contact LDAP server"

I ran tcpdump simultaneously but no request was made
to ldap port 389. I am using qmail 1.03 patched with
qmail-ldap-1.03-20030101.patch and is working fine.

Somebody please help me. I have given the following
settings on imap config files..

#authdaemonrc

authmodulelist="authldap"
authmodulelistorig="authcustom authcram authuserdb
authldap authpam"
daemons=5
version=""
authdaemonvar=/usr/lib/courier-imap/var/authdaemon

#authldaprc

LDAP_SERVER             sapphire.lpscm.dos.gov.in  #hostname of
the IMAP server
LDAP_PORT               389
LDAP_BASEDN             ou=LPSC,o=ISRO
LDAP_BINDDN             cn=courier,ou=LPSC,o=ISRO
LDAP_BINDPW             couriersecret
LDAP_TIMEOUT            5
LDAP_AUTHBIND           0
LDAP_MAIL               mail
LDAP_DOMAIN             lpscm.dos.gov.in
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            mailMessageStore
LDAP_MAILDIR            mailMessageStore
LDAP_FULLNAME           cn
LDAP_CRYPTPW            userPassword

#imapd

ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon"
DEBUG_LOGIN=0
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA
IDLE"
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN
NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT
QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG
AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_ULIMITD=65536
IMAP_USELOCKS=0
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/sbin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=YES

Tom

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to