4 messages in net.sourceforge.lists.courier-users[courier-users] auth.ldap giving "lda...
FromSent OnAttachments
tom alterFeb 18, 2003 8:22 pm 
Sam VarshavchikFeb 18, 2003 9:11 pm 
tom alterFeb 18, 2003 11:24 pm 
Sam VarshavchikFeb 19, 2003 4:40 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] auth.ldap giving "ldap_simple_bind_s failed: Can't contact LDAP server"Actions...
From:tom alter (alti@yahoo.com)
Date:Feb 18, 2003 8:22:39 pm
List:net.sourceforge.lists.courier-users

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