ldap authentication for imapd

Igor Brezac igor at ipass.net
Wed Feb 23 16:58:45 EST 2005


On Wed, 23 Feb 2005, Dieter Kluenter wrote:

> Hi,
> man imapd.conf(5) lists some options to authenticate against ldap,

This is for authorization not authentication.

> I
> just wonder which auxprop and pwcheck_method has to be evoked. For
> Postfix sasl authentication I use libldapdb which works flawless, but
> with imapd I get an error 'no mechanisms found'. The relevant part of
> my imapd.conf
>
> ,----[ imapd.conf ]
> | sasl_pwcheck_method: auxprop
> | ldap_base: ou=my ldap base,dc=tld
> | ldap_authz: cn=mailAdmin,ou=my ldap base,dc=tld
> | # ldap_id: mailAdmin
> | ldap_password: secret
> | ldap_mech: DIGEST-MD5
> | ldap_scope: sub
> | ldap_uri: ldapi://%2Fvar%2Frun%2Fldapi
> `----
>

You need to use sasl_ldap_* options where ldap_* are ldapdb options.

Hope this helps.

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