Dear Expert,
Can i specify multiple Base DN for user lookup in
dovecot like :-
dc=abc,dc=com
dc=abc,dc=net
dc=xzy,dc=com
dc=xyz,dc=net
Thanks
You can use multiple databases http://wiki2.dovecot.org/Authentication/MultipleDatabases -- View this message in context: http://dovecot.2317879.n4.nabble.com/Help-Regarding-Multiple-Base-DN-tp39422p39423.html Sent from the Dovecot mailing list archive at Nabble.com.
Don't know if having multiple Base DNs can work, but you can use
%variables in it. We use this one to be able to have a simple onelevel
scope on all lookups:
base = ou=people,o=%d,o=ISP,o=example,c=com
scope = onelevel
-jf
Just checked the Variables documentation
http://wiki2.dovecot.org/Variables, which says:
%D - return "sub.domain.org" as "sub,dc=domain,dc=org"
(for LDAP queries)
so it seems* you should be able to use "base = %D"
[*] assuming the wiki meant to say "dc=sub,dc=domain,dc=org"
-jf