ldap lookup with different search_base's?

Andreas Winkelmann ml at awinkelmann.de
Wed Jan 3 18:17:31 EST 2007


On Wednesday 03 January 2007 22:43, Marten Lehmann wrote:

> for common email users, I have a path like this:
>
> cn=test at test.com,ou=users,dc=mailservices
>
> so the search base is ou=users,dc=mailservices.
>
> Using this, authentication works fine. But I would like to include the
> admin user into the ldap lookup as well. How can I manage this?
>
> I planned to have the admin user at cn=admin,dc=mailservices. How do I
> manage that saslauthd checks in both paths? What do I have to enter at
> "admins" in /etc/imapd.conf? Does anyone have a similar setup and can
> provide some config files or examples?

Hmm, you can use ldapdb. Then you can specify multiple authz-regexp In 
slapd.conf. Seperate them somehow in the Matching-Pattern.

I havn't tested this, but I think it's a try worth.
-- 
	Andreas


More information about the Info-cyrus mailing list