[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

howto courier-imap throught systems users then ldap ?¿



Hi,

I'm on a Debian potato server with Sendmail and OpenLdap
I try to get courier-imap to check if the user is on the systems database then if it's on ldap, so I put

on /etc/courier-imap.config
AUTHMODULES="authpam authcram authldap"

Then on netscape mail setup as imap I try to log as a system user I get this log:

on /var/log/auth.log
Feb  6 12:43:49 island PAM_unix[8057]: (imap) session opened for user test by (uid=0)
Feb  6 12:43:49 island PAM_unix[8057]: (imap) session closed for user test

on /var/log/mail/mail.log
Feb  6 12:43:49 island imaplogin: LOGIN, user=test, ip=[::ffff:192.168.100.100]
Feb  6 12:46:53 island imaplogin: Connection, ip=[::ffff:192.168.100.100]
Feb  6 12:46:55 island imaplogin: LOGOUT, ip=[::ffff:192.168.100.100]

and netscape says "Login Failed" is unable to download messages that sendmail is spooling on /var/spool/mail/test

and have setup netscape as "Show only subscribed folders" disabled and "Personal Namespace: "INBOX." "Public Namespace: "shared."

Secondly, how do you setup and ldap user ?¿ are you using libnss-ldap

thanks a lot,
jaume



Reply to: