On 09/30/2015 09:19 PM, Michael Ströder wrote:
I have a use-case where it would be handy to use the deref control to
attributes from an entry's parent entry. But this would require kind of a
pseudo-attribute 'parentDN' (similar to 'entryDN').
Anybody aware whether such a thing is already available?
I've attached my implementation -- hope it helps. The patch is against
(More details: the parentDN part is fairly straightforward, given the
entryDN implementation as a model. However, the deref overlay can't use
dynamic attributes [you can try the unmodified slapd with deref and
entryDN], so I wrote a nasty hack to make it work with parentDN. Not
extensively tested, e.g., I'm not sure it would work "" as the parent.)
Ivan Nejgebauer +381 21 485 2025
Glavni sistem inženjer ian(a)uns.ac.rs
Univerzitet u Novom Sadu $ Dr Zorana Đinđića 1 $ 21000 Novi Sad $ Srbija