Cyrus-Imap and auxprop ldap

Julien Vehent julien at linuxwall.info
Thu May 6 12:05:36 EDT 2010


Hey guys,

I'm trying to allow my cyrus-imap server to bind to the LDAP directory
using SASL and without the need of saslauthd.
I have a working Slapd server that allow proxy authorization for user
cyrus:

---------
# ldapwhoami -U cyrus -Y DIGEST-MD5 -X u:michel -H ldap://localhost
SASL/DIGEST-MD5 authentication started
Please enter your password:
SASL username: u:michel
SASL SSF: 128
SASL data security layer installed.
dn:cn=michel rene,ou=mail,dc=example,dc=net
---------

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
---------

Is there any doc anywhere ? If you guys can help me set this up, I'm
planning on writing it down on my wiki:
http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:cyrus:imapd


Thanks,
Julien


More information about the Info-cyrus mailing list