Cyrus + LDAP Suggestions/Help
Igor Brezac
igor at ipass.net
Sat Nov 6 22:49:08 EST 2004
On Sat, 6 Nov 2004, Michael Nguyen wrote:
> 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:
>
> # michaeln at test.spam, dev2, test, spam
> dn: mail=michaeln at test.spam,dc=dev2,dc=test,dc=spam
> objectClass: top
> objectClass: MailAccount
> accountStatus: TRUE
> uid: 1000
> userName: michaeln
> mail: michaeln at test.spam
> 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
There are no such parameters in saslauthd.conf.
> ldap_filter: userName=%u
What do you get in syslog (authlog)?
--
Igor
---
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
More information about the Info-cyrus
mailing list