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: ([EMAIL PROTECTED])
# 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: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
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=[:::192.168.0.136]
Apr 4 11:39:07 mail imapd: LOGIN FAILED, ip=[:::192.168.0.136]
Apr 4 11:39:19 mail imapd: DISCONNECTED, ip=[:::192.168.0.136],
headers=0, body=0
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users