Tomáš Kubla writes:

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.

Courier-IMAP has no role in PAM's dealings with an LDAP server. If you're having a problem enabling LDAPS in PAM, this is a PAM issue, not a Courier- IMAP issue.

Courier-IMAP has its own native LDAP authentication module, you might want to try using it.


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>

This log indicates a successful connection.

Attachment: pgp3z9wZQ_xY0.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to