[patch]saslauthd+ldap+virtual_domains

Kervin L. Pierre kervin at blueprint-tech.com
Mon Oct 14 16:24:24 EDT 2002


Hi,

http://my.fit.edu/~kpierre/lak.c.1.patch
patch to cyrus/saslauthd/lak.c to allow it to expand '%d'
macro in ldap_search_base option to the domain context derived from the
realm '%r'.

eg.

ldap_search_base: ou=people, %d
in saslauthd.conf

if realm is 'domain.tld', the ldap search base will expand to
'ou=people,dc=domain,dc=tld'

Does imapd always provide the realm in a virtual server environment when
authenticating users?  Is it safe to assume that the realm is
'domain.tld' or more specifically the domain given to mkimap script?

Is this correct/incorrect/unnecessary?

--Kervin








More information about the Info-cyrus mailing list