[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to use postread?
Emmanuel Dreyfus wrote:
As I understood, postread control should offer a way of doing an atomic
increment-and-read operation, but how is it supposed to output the
result?
This does not produce any particular output:
ldapsearch -x -e!postread=uidNumber uid=foo uid
It is supposed to be used on modify operations, RFC4527:
The Post-Read request control is a LDAP Control [RFC4511] whose
controlType is 1.3.6.1.1.13.2 and whose controlValue, an OCTET
STRING, contains a BER-encoded AttributeSelection [RFC4511], as
extended by [RFC3673]. The criticality may be TRUE or FALSE. This
control is appropriate for the addRequest, modifyRequest, and
modDNRequest LDAP messages.
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
Email: pierangelo.masarati@sys-net.it
---------------------------------------