On Mon, 2005-01-10 at 18:28 +0100, Timo Boettcher wrote:
But that would only work, if dc was an attribute of my user (which it is not), wouldn't it? Yes, that would probably have to be the case. Theoretically, this kind of problem could be solved by being more specific in your base dn (specifying "base = dc=domain.tld, o=myorganization" but I don't think that Dovecot allows things like %d in the "base" option of dovecot-ldap.conf, so you couldn't have "base = dc=%d, o=myorganization". (Someone correct me if I'm wrong.)
As I read the sourcecode, thats not possible just now. But unless I am wrong (which I could quite possible be) the change to make this possible would be about one line to do variable expansion on the search-base.
I guess this would fall into same category with authentication binds. When they are supported, supporting %d in base is simple. I don't have plans to do auth binds anytime soon though. pam_ldap might help you.