Cyrus-Imap and auxprop ldap
Julien Vehent
julien at linuxwall.info
Fri May 7 05:21:54 EDT 2010
On Thu, 6 May 2010 11:34:57 -0500, Dan White <dwhite at olp.net> wrote:
> On 06/05/10 11:28 -0500, Dan White wrote:
>>ldapdb_uri: ldap://ldap.example.com
>>ldapdb_id: root
>>ldapdb_pw: secret
>>ldapdb_mech: DIGEST-MD5
>
> That should really be:
>
> sasl_ldapdb_uri: ldap://ldap.example.com
> sasl_ldapdb_id: root
> sasl_ldapdb_pw: secret
> sasl_ldapdb_mech: DIGEST-MD5
Thanks for your reply. I changed my parameters to:
-----
# grep -E "sasl|ldap" /etc/imapd.conf |grep -v "#"
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: ldapdb
sasl_auto_transition: no
sasl_ldapdb_uri: ldap://localhost
sasl_ldapdb_id: cyrus
sasl_ldapdb_pw: cyrusadmin
sasl_ldapdb_mech: DIGEST-MD5
-----
But without luck so far.
------
# nc localhost 143
* OK ses0gnoc Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
. login julien password
. NO Login failed: authentication failure
. logout
* BYE LOGOUT received
. OK Completed
------
And I do not see any connection going to localhost:389 (sniffing with
tcpdump on lo).
-----
# tcpdump -s 16500 -X -Svni lo tcp and port 389
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 16500
bytes
-----
auth.log and slapd.log are not logging anything. mail.info logs the
following:
-----
# tail -n 3 /var/log/mail.info
Mar 9 05:15:35 ses0gnoc cyrus/ctl_cyrusdb[4285]: checkpointing cyrus
databases
Mar 9 05:15:36 ses0gnoc cyrus/ctl_cyrusdb[4285]: done checkpointing cyrus
databases
Mar 9 05:17:30 ses0gnoc cyrus/imap[4298]: badlogin: localhost [127.0.0.1]
plaintext julien SASL(-13): user not found: checkpass failed
-----
Am I missing something ? Do I still need saslauthd to be running next to
imapd ?
Best,
Julien
More information about the Info-cyrus
mailing list