Hello,

I know that this is maybe question for more LDAP oriented users, but I hope
someone here can help me. I have a postfix with one "primary" domain and
dozen virtual domains. The problem is that users from primary domain use only
their username (without domain part) for SASL authentication and all
other users
(from virtual domains) are using usern...@somedomain as username.
Now my DIT is organized something like

ou=people,o=somedomain.com,dc=acmecorp
ou=people,o=virtualdomain.com,dc=acmecorp


The question is how can I perform a search for a "primary" domain when I don't
have a domain part? Is there anyway that I can "append" a default domain when
%d is empty or I can make some sophisticated filter_search?

Thank in advance.

Reply via email to