On Fri, June 22, 2007 01:09, Reinaldo Carvalho wrote: > Hi, > > ldap_search_base: dc=domain,dc=com,dc=br > ldap_filter: (&(objectClass=qmailUser)(|(dc=%Z)(ou=%Z))(uid=%U)) > > > Where %Z is the last level of domain. (e.g. subdoman1.domain.com.br, > %Z is "subdomain1") as long as there is either a DN: ou=%Z,*,dc=domain,dc=com,dc=br *or* DN: dc=%Z,*,dc=domain,dc=com,dc=br in your LDAP tree, sure why not as long as %Z is properly populated. Guus