On Mon, Sep 22, 2014 at 05:19:45PM +0200, Marek Kozlowski wrote:

> :-)
> Is it possible: I'm looking for YES or NO and can't find in the docs.
> Can I define a filter for a multivalued LDAP attribute to obtain a
> single selected (pattern-matching) value?

LDAP returns multi-valued attributes in their entirety.  The Postfix
LDAP driver does not further filter those results.

As Wietse replied, in 2.12 snapshots you are able to apply further
filtering with "addressmap", but keep in mind that by the time the
second filter is processing LDAP output the original input key and
any attribute names are gone, all you have is some addresses that
come out of LDAP, and you need to keep or drop based on the address
value alone.

-- 
        Viktor.

Reply via email to