Re: Cyrus-Imap and auxprop ldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux