1 message in net.sourceforge.lists.courier-users[courier-users] IMAP authentication i...
FromSent OnAttachments
James StevensApr 4, 2002 6:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] IMAP authentication issuesActions...
From:James Stevens (jste@endeavors.com)
Date:Apr 4, 2002 6:20:51 pm
List:net.sourceforge.lists.courier-users

I am unable to get an IMAP client to authenticate. I use LDAP to store user info and passwords. I use Qmail as my MTA and have been able to test successfully with it using LDAP. AUTHDAEMOND.LDAP is running. I had Pasted below is some info I hope will be useful.

The only thing I can think of is the passwords are not matching due to plain and crypt, maybe? I have verified the correct password is in use. Bumping up my logging for LDAP helped through some issues. How/where do I bump up logging on courier?

TIA James Stevens

************** Output from LDAP search: ************** version: 2

# # filter: (mail=jste@endtech.com) # requesting: ALL #

# jstevens, accounts, endtech, com dn: uid=jstevens,ou=accounts,dc=endtech,dc=com cn: James Stevens sn: Stevens objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: qmailUser mail: jste@endtech.com mailAlternateAddress: jste@mail.endtech.com mailHost: mail.endtech.com mailMessageStore: /var/qmail/maildirs/jstevens/Maildir uid: jstevens userPassword:: e1NTSEF9bHV3WkRlaHhsanRiUUNtK015aEdmNjA3NWduNmNTNVY=

# search result search: 2 result: 0 Success

# numResponses: 2 # numEntries: 1

************** Logging of my LDAP server while attempting to authenticate with IMAP client: ************** Apr 4 11:39:02 mail slapd[2344]: ====> cache_find_entry_id( 3 ) "uid=jstevens,ou=accounts,dc=endtech,dc=com" (found) (1 tries) Apr 4 11:39:02 mail slapd[2344]: <= id2entry_r( 3 ) 0x8148d50 (cache) Apr 4 11:39:02 mail slapd[2344]: => test_filter Apr 4 11:39:02 mail slapd[2344]: EQUALITY Apr 4 11:39:02 mail slapd[2344]: => access_allowed: search access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "mail" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: <= test_filter 6 Apr 4 11:39:02 mail slapd[2344]: => send_search_entry: "uid=jstevens,ou=accounts,dc=endtech,dc=com" Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "entry" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "cn" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "cn" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "mail" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "mail" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "mailMessageStore" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "mailMessageStore" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "userPassword" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: => access_allowed: read access to "uid=jstevens,ou=accounts,dc=endtech,dc=com" "userPassword" requested Apr 4 11:39:02 mail slapd[2344]: <= root access granted Apr 4 11:39:02 mail slapd[2344]: conn=7 op=1 ENTRY dn="uid=jstevens,ou=accounts,dc=endtech,dc=com" Apr 4 11:39:02 mail slapd[2344]: <= send_search_entry Apr 4 11:39:02 mail slapd[2344]: entry_rdwr_runlock: ID: 3 Apr 4 11:39:02 mail slapd[2344]: ====> cache_return_entry_r( 3 ): returned (0) Apr 4 11:39:02 mail slapd[2344]: send_ldap_search_result 0:: Apr 4 11:39:02 mail slapd[2344]: send_ldap_response: msgid=2 tag=101 err=0 Apr 4 11:39:02 mail slapd[2344]: conn=7 op=1 SEARCH RESULT tag=101 err=0 text=

************** My maillog file: ************** Apr 4 11:38:59 mail imapd: Connection, ip=[::ffff:192.168.0.136] Apr 4 11:39:07 mail imapd: LOGIN FAILED, ip=[::ffff:192.168.0.136] Apr 4 11:39:19 mail imapd: DISCONNECTED, ip=[::ffff:192.168.0.136], headers=0, body=0