Hello,


I am hoping for some suggestions/tips on how to fix this problem.


I have Courier-IMAP with LDAP authentication working. I verified this by using Courier's built-in webmail and Mozilla Thunderbird email client. I am able to login, send and check email just fine.


I installed IMP/Horde. I got IMP running, I can see the login screen. I pointed IMP at Coureri-IMAP. I type in the username and password and after about 15 seconds, I get a "Login Failed." message from IMP.


Courier-IMAP's logs in Syslog:

Dec 27 09:27:38 mamamia authdaemond: received auth request, service=imap, authtype=cram-md5
Dec 27 09:27:38 mamamia authdaemond: authldap: trying this module
Dec 27 09:27:38 mamamia authdaemond: cram: challenge=PDJDRUM2N0E3NURBMzFBOTc1MEQ0MUNENDkxREQxRTdBQG1hbWFtaWEudW5pY29uLm5ldD4=, response=dXNlcjEgNWI4OTIxYzQ0OTM5NTkxNTJkMzc4MGYyZmE1NjliZjc=
Dec 27 09:27:38 mamamia authdaemond: cram: decoded challenge/response, username 'user1'
Dec 27 09:27:38 mamamia authdaemond: using search filter: (uid=user1)
Dec 27 09:27:38 mamamia slapd[20864]: conn=9 op=3 SRCH base="dc=unicon,dc=net" scope=2 deref=0 filter="(uid=user1)"
Dec 27 09:27:38 mamamia slapd[20864]: conn=9 op=3 SRCH attr=destinationIndicator Maildir givenName  userPassword sn sn uid
Dec 27 09:27:38 mamamia slapd[20864]: <= bdb_equality_candidates: (uid) index_param failed (18)
Dec 27 09:27:38 mamamia slapd[20864]: conn=9 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text=
Dec 27 09:27:38 mamamia authdaemond: one entry returned, DN: uid=user1,ou=users,o=sakai,dc=mamamia,dc=unicon,dc=net
Dec 27 09:27:38 mamamia authdaemond: raw ldap entry returned:
Dec 27 09:27:38 mamamia authdaemond: | givenName: Test User 1
Dec 27 09:27:38 mamamia authdaemond: | sn: 1
Dec 27 09:27:38 mamamia authdaemond: | userPassword: {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
Dec 27 09:27:38 mamamia authdaemond: | uid: user1
Dec 27 09:27:38 mamamia imapd: LOGIN FAILED, method=CRAM-MD5, ip=[::ffff:10.15.18.110]
Dec 27 09:27:38 mamamia authdaemond: | destinationIndicator: /ldap/user1
Dec 27 09:27:38 mamamia authdaemond: authldaplib: sysusername=<null>, sysuserid=1, sysgroupid=1, homedir=/ldap/user1, address=user1, fullname=Test User 1, maildir=<null>, quota=<null>, options=<null>
Dec 27 09:27:38 mamamia authdaemond: authldaplib: clearpasswd=<null>, passwd={SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
Dec 27 09:27:38 mamamia authdaemond: authldap: REJECT - try next module
Dec 27 09:27:38 mamamia authdaemond: FAIL, all modules rejected
Dec 27 09:27:43 mamamia imapd: LOGOUT, ip=[::ffff:10.15.18.110]



Any suggestions/tips appreciated.


Thank you.

--
Lyndon Tiu
