Hello,

I set up my IMAP Courier server with PAM and LDAP.
LDAP(Active directory) ---> PAM ---> Courier-authdaemon --> IMAP (this 
works).
When I change LDAP to LDAPS (in /etc/ldap.conf - using by PAM) all 
services work(ssh, sasl, ...) but IMAP stop working.

It open connection and authencation is successful. For 10 sec everything 
freeze and after connection close conncetion.

Can you help me please?

Tomas Kubla

Log:
Sep 11 23:33:47 imaptest authdaemond: received auth request, 
service=imap, authtype=login
Sep 11 23:33:47 imaptest authdaemond: authpam: trying this module
Sep 11 23:33:47 imaptest authdaemond: authpam: sysusername=kiblik, 
sysuserid=<null>, sysgroupid=2200, homedir=/home/kiblik, address=kiblik, 
fullname=Tomas Kubla, maildir=<null>, quota=<null>, options=<null>
Sep 11 23:33:47 imaptest authdaemond: pam_service=imap, pam_username=kiblik
Sep 11 23:33:47 imaptest authdaemond: dopam successful
Sep 11 23:33:47 imaptest authdaemond: Authenticated: sysusername=kiblik, 
sysuserid=<null>, sysgroupid=2200, homedir=/home/kiblik, address=kiblik, 
fullname=Tomas Kubla, maildir=<null>, quota=<null>, options=<null>

Command:
root@imaptest:~# curl imap://kiblik:***@localhost -v
* Rebuilt URL to: imap://kiblik:***@localhost/
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 143 (#0)
< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION 
STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, 
Inc.  See COPYING for distribution information.
 > A001 CAPABILITY
< * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION 
STARTTLS
< A001 OK CAPABILITY completed
 > A002 LOGIN kiblik ***
____ 10 sec timeout ____
* response reading failed
* Closing connection 0
curl: (56) response reading failed



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

Reply via email to