Re: [patch]saslauthd+ldap+virtual_domains

2002-10-14 Thread Kervin L. Pierre
Thanks for the clarification, How about an option to extract the domain context from %u for the search base? ie. The option derive %d from %u instead of %r I think there's an opportunity to greatly improve the search times. The global search may have to go through hundreds of thousands of rec

[patch]saslauthd+ldap+virtual_domains

2002-10-14 Thread Kervin L. Pierre
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

Re: [patch]saslauthd+ldap+virtual_domains

2002-10-14 Thread Igor Brezac
On Mon, 14 Oct 2002, Kervin L. Pierre wrote: > > Hi, > > attached is a 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

[patch]saslauthd+ldap+virtual_domains

2002-10-14 Thread Kervin L. Pierre
Hi, attached is a 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=

saslauthd,ldap,virtual_domains

2002-10-13 Thread Kervin L. Pierre
Is there are way to dynamically modify ldap_search_base attribute of saslauthd so that it searches are particular DIT of the LDAP server? eg. a way to split the realm ( %r ) macro, then building a search base off that. ie. ldap_search_base: ou=people,%d Where %d explodes to "dc=domain,dc=tld