The standard post-read request control may be included in an add, modify, or modify DN request to indicate that the server should return a response control with a copy of the entry as it appears immediately after the changes were applied. The control has an OID of 1.3.6.1.1.13.2, and it takes a value. The following fields may be present in the value-json
representation of the value:
attributes
: An optional array field whose values are strings that represent the names of the attributes to include in the entry returned in the response control. It may also include special tokens that represent groups of attributes (for example, “*” to indicate all user attributes, or “+” to represent all operational attributes). If this field is not provided, or if it is empty, then the server responds as if all user attributes had been requested.The following sample shows the JSON encoding for the control:
{
"oid": "1.3.6.1.1.13.2",
"control-name": "Post-Read Request Control",
"criticality": false,
"value-json": {
"attributes": [
"uid",
"givenName",
"sn",
"cn",
"mail"
]
}
}