Here's the log. The success and the failed ones. Thanks in advance. ------------------------ Successfull login -------------- Jul 21 22:53:51 intern authdaemond: received auth request, service=imap, authtype=login Jul 21 22:53:51 intern authdaemond: authldap: trying this module Jul 21 22:53:51 intern authdaemond: using search filter: (&(AccountStatus=active)([EMAIL PROTECTED])) Jul 21 22:53:52 intern authdaemond: one entry returned, DN: uid=budi2,ou=People,dc=xxx,dc=xx,dc=xx Jul 21 22:53:52 intern authdaemond: raw ldap entry returned: Jul 21 22:53:52 intern authdaemond: | cn: budi2 Jul 21 22:53:52 intern authdaemond: | mail: [EMAIL PROTECTED] Jul 21 22:53:52 intern authdaemond: | mailMessageStore: /home/vmail/xxx.xx.xx/karyawan/b/budi2/ Jul 21 22:53:52 intern authdaemond: authldaplib: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=///home/vmail/xxx.xx.xx/karyawa n/b/budi2/, [EMAIL PROTECTED], fullname=budi2, maildir=/home/vmail/xxx.xx.xx/karyawan/b/budi2/, quota=<null>, options=<null> Jul 21 22:53:52 intern authdaemond: authldaplib: clearpasswd=<null>, passwd=<null> Jul 21 22:53:52 intern authdaemond: rebinding with DN 'uid=budi2,ou=People,dc=xxx,dc=xx,dc=xx' to validate password Jul 21 22:53:52 intern authdaemond: authentication bind successful Jul 21 22:53:52 intern authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=///home/vmail/xxx.xx.xx/karya wan/b/budi2/, [EMAIL PROTECTED], fullname=budi2, maildir=/home/vmail/xxx.xx.xx/karyawan/b/budi2/, quota=<null>, options=<null> Jul 21 22:53:52 intern authdaemond: Authenticated: clearpasswd=xxxxx, passwd=<null> ------------------------ Failed login -------------- Jul 21 22:54:31 intern authdaemond: received auth request, service=imap, authtype=login Jul 21 22:54:31 intern authdaemond: authldap: trying this module Jul 21 22:54:31 intern authdaemond: selected ldap protocol version 3 Jul 21 22:54:31 intern authdaemond: binding to LDAP server as DN '<null>', password '<null>' Jul 21 22:54:31 intern authdaemond: using search filter: (&(AccountStatus=active)([EMAIL PROTECTED])) Jul 21 22:54:35 intern authdaemond: ldap_search_st() failed Jul 21 22:54:35 intern authdaemond: selected ldap protocol version 3 Jul 21 22:54:35 intern authdaemond: binding to LDAP server as DN '<null>', password '<null>' Jul 21 22:54:35 intern authdaemond: using search filter: (&(AccountStatus=active)([EMAIL PROTECTED])) Jul 21 22:54:38 intern authdaemond: ldap_search_st() failed Jul 21 22:54:38 intern authdaemond: authldap: TEMPFAIL - no more modules will be tried Jul 21 22:54:38 intern imapd: authentication error: Input/output error -------------------------------------------------------------
Budiw On Mon, 2008-07-21 at 11:41 -0400, Jay Lee wrote: > > Sorry for the previous replies. I didn't check the "TO:" column. > > > > I did try to set DEBUG_LOGIN=2 in etc/authlib/authdaemonrc, and the log > > I found is this: > > That doesn't seem to be the full debug output, did you restart > courier-imap after changing the debug setting? Also, it'd help if you > removed the irrelevant postfix lines. If you could post the debug log for > one successful login and one failed, that would help. Here's what a > successful login outputs on my server with DEBUG on: > > Jul 21 11:37:17 imap authdaemond: received auth request, service=imap, > authtype=login > Jul 21 11:37:17 imap authdaemond: authldap: trying this module > Jul 21 11:37:17 imap authdaemond: selected ldap protocol version 3 > Jul 21 11:37:17 imap authdaemond: binding to LDAP server as DN '<null>' > Jul 21 11:37:17 imap authdaemond: using search filter: > (&(objectClass=inetOrgPerson)([EMAIL PROTECTED])) > Jul 21 11:37:17 imap authdaemond: one entry returned, DN: > cn=USER,ou=OURUNIT,o=OURORG > Jul 21 11:37:17 imap authdaemond: authldaplib: sysusername=<null>, > sysuserid=505, sysgroupid=505, homedir=/var/maildir/USER, > [EMAIL PROTECTED], fullname=Full Username, maildir=<null>, > quota=<null>, options=<null> > Jul 21 11:37:17 imap authdaemond: rebinding with DN 'cn=USER,ou=LMC,o=PCB' > to validate password > Jul 21 11:37:17 imap authdaemond: authentication bind successful > Jul 21 11:37:17 imap authdaemond: Authenticated: sysusername=<null>, > sysuserid=5000, sysgroupid=5000, homedir=/var/maildir/USER, > [EMAIL PROTECTED], fullname=Full Username, maildir=<null>, > quota=<null>, options=<null> > Jul 21 11:37:17 imap imapd-ssl: LOGIN, [EMAIL PROTECTED], > ip=[::ffff:10.1.26.203], port=[2050], protocol=IMAP > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
