On Thu, Sep 10, 2009 at 10:13:35AM +0200, Edgar Fuß wrote:

> > So you can store the "foo=bar" query in a "special_result_attribute"
> > of an object whose primary lookup key is foobars, and a special
> > result attribute specifies the desired query as an LDAP URL.
>
> Ah, neat, thanks!
> 
> Am I right to assume that the original (key=alias, value=URI) entry
> must reside in LDAP itself

Yes the "dynamic group" (typical use-case of this feature) must be
defined as an LDAP object.

> or is there a way of keeping that table statically?

No.

> Since, for our application, it will just consist of one (or,
in the future, a handful of) entry, it seem a bit of an overkill to ha
an LDAP tree just for that one.

You don't need a new "LDAP tree", just a suitable object endowed with
the right attributes.

> In case it has to reside in LDAP: Can you recommend a schema for that subtree?
> 

Sorry, I don't do LDAP schema design, but you should be able to Google
some examples along these lines, separately from any interaction with
Postfix. Just look for schemas for dynammic LDAP groups.

> A an aside: Is there any example in the docs for this most useful
> feature that I overlooked?

The docs describe "special_result_attribute".

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to