[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

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 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.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it