Cyrus-Imap and auxprop ldap
Marc Patermann
hans.moser at ofd-z.niedersachsen.de
Fri May 7 07:26:50 EDT 2010
Julien,
Julien Vehent schrieb:
> However, I can't make this work with imapd. I tried to reuse information
> from the man page, but it brought me nowhere...
> My imapd.conf contain the following (regarding sasl and ldap only):
>
> ---------
> # grep -E "sasl|ldap" /etc/imapd.conf |grep -v "#"
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: ldapdb
> sasl_auto_transition: no
> ldap_uri: ldap://localhost
> ldap_realm: example.net
> ldap_id: cyrus
> ldap_password: cyrusadmin
> ---------
I have it like this:
sasl_log_level: 5
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: ldapdb
sasl_ldapdb_uri: ldap://server
sasl_ldapdb_id: user
sasl_ldapdb_pw: password
sasl_ldapdb_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN
allowplaintext: no
sasl_minimum_layer: 0
sasl_ldapdb_starttls: try
sasl_ldap_search_base: ou=foo
sasl_ldap_search_filter: attribute=%U
do you have ptloader configured and running?
# ptloader ldap:
ldap_id: user
ldap_sasl: 1
ldap_password: password
ldap_uri: ldap://server
ldap_start_tls: 0
ldap_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN
ldap_tls_cacert_file: file.pem
ldap_tls_cert: file.pem
ldap_tls_key: file.pem
ldap_base: ou=foo
ldap_group_base: ou=gruppen,ou=foo
ldap_group_filter: ou=%U
ldap_member_attribute: member
ldap_group_scope: sub
ldap_member_method: attribute
cyrus.conf:
SERVICES {
...
ptloader cmd="ptloader" listen="/mail/imap/ptclient/ptsock" prefork=1
Marc
More information about the Info-cyrus
mailing list