[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5768) [enhancement] add support for Dereference Control



h.b.furuseth@usit.uio.no wrote:
> ando@sys-net.it writes:
>> The current specification is formalized in a comment in
>> overlays/deref.c; I intend to improve it and post it at
>> <http://www.openldap.org/faq/data/cache/1469.html>.
> 
> You've specified the syntax, but not the semantics.  I don't see
> any mention there of what this control does, though I suppose the
> examples help if one knows what a GUID and a SID are.

I will, in a more detailed document.

> BTW, possibly "deref(erence)" is a confusing name for the control,
> since it is apparently not related to aliases.

"Dereference" means take DN-valued attributes, lookup the requested 
attributes from their entry and present the whole thing (name + attrs) 
as the control value.  So

ldapsearch -E deref=member:cn,sn

will return a control value consisting in sequences of member values 
contained in the search, plus the corresponding values of cn and sn.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------