I've been trying to get Cyrus IMAP/POP to authenticate via LDAP and I've run into some problems. First, here's my current setup:
- Postfix 2.1.5 - OpenLDAP 2.0.25 - Cyrus 2.2.8 I have Postfix + LDAP delivering correctly. Here's an LDAP entry on our dev server: # [EMAIL PROTECTED], dev2, test, spam dn: [EMAIL PROTECTED],dc=dev2,dc=test,dc=spam objectClass: top objectClass: MailAccount accountStatus: TRUE uid: 1000 userName: michaeln mail: [EMAIL PROTECTED] mailMessageStore: m.sub/i.sub/michaeln.macnt/ mailHost: dev2.test.spam clearPassword: password2 userPassword:: e2NyeXB0fUtWSGxabGV0c25EMmM= Here's /etc/imapd.conf allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN configdirectory: /var/imap partition-default:/var/Accounts admins: michaeln Here is /etc/saslauthd.conf ldap_servers: ldap://127.0.0.1 ldap_search_base: dc=dev2,dc=test,dc=spam ldap_bind_dn: dc=dev2,dc=test,dc=spam ldap_password: secret ldap_scope: one ldap_uidattr: userName ldap_filter_mode: yes ldap_filter: userName=%u But when I try to login as michaeln Escape character is '^]'. +OK dev2 Cyrus POP3 v2.2.8 server ready <[EMAIL PROTECTED]> user michaeln +OK Name is a valid mailbox quit +OK Connection closed by foreign host Any suggestions would be greatly appreciated. How do I troubleshoot this? How do I tell if Cyrus is even accessing LDAP? Michael --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html