I've been trying for over a week now to get Courier IMAP working with
OpenLDAP.  Please, someone help me.  I can authenticate as the same user
with an LDAP Browser, but I can't authenticate over Courier IMAP even
with telnet:

telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS]
Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc.  See
COPYING for distribution information.
AB LOGIN sandra <password>
AB NO Login failed.
AB LOGIN sandra <password>
AB NO Login failed.
AB LOGIN sandra <password>
Connection closed by foreign host. 

I thought it might be the fact that I was using uid=0 and gid=0 but
changing those to 1 didn't help either.  Now I'm getting bdb_search: 14
does not match filter (after it finds the entry)!!!

Specifically:
=> access_allowed: search access to
"cn=sandra,ou=users,dc=kbearstudios,dc=com" "objectClass" requested
=> acl_get: [1] check attr objectClass
<= acl_get: [1] acl cn=sandra,ou=users,dc=kbearstudios,dc=com attr:
objectClass
=> acl_mask: access to entry
"cn=sandra,ou=users,dc=kbearstudios,dc=com", attr "objectClass"
requested
=> acl_mask: to value by "", (=n)
<= check a_dn_pat: self
<= check a_dn_pat: anonymous
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: search access granted by read(=rscx)
is_object_subclass(2.16.840.1.113730.3.2.2,2.5.6.0) 0
is_object_subclass(2.16.840.1.113730.3.2.2,2.5.6.6) 0
is_object_subclass(2.16.840.1.113730.3.2.2,2.5.6.0) 0
is_object_subclass(2.16.840.1.113730.3.2.2,2.16.840.1.113730.3.2.2) 1
<= test_filter 6
=> test_filter
    EQUALITY
=> access_allowed: search access to
"cn=sandra,ou=users,dc=kbearstudios,dc=com" "mail" requested
=> acl_get: [1] check attr mail
<= acl_get: [1] acl cn=sandra,ou=users,dc=kbearstudios,dc=com attr: mail
=> acl_mask: access to entry
"cn=sandra,ou=users,dc=kbearstudios,dc=com", attr "mail" requested
=> acl_mask: to value by "", (=n)
<= check a_dn_pat: self
<= check a_dn_pat: anonymous
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: search access granted by read(=rscx)
<= test_filter 5
<= test_filter_and 5
<= test_filter 5
bdb_search: 14 does not match filter
====> bdb_cache_return_entry_r( 14 ): returned (0)
send_search_result: err=0 matched="" text=""
send_ldap_response: msgid=3 tag=101 err=0
HELP!!!

I posted a very extensive listing of my set-up, but no responses.
Somebody's got to know how to do this.

Kelly McTiernan




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to