Contains data about an LDAP control.
typedef struct ldapcontrol { char *ldctl_oid; struct berval ldctl_value; char ldctl_iscritical; } LDAPControl;
Points to the string object identifier (OID) assigned to the control.
Specifies a berval structure that contains the data, if any, associated with the control. The ldctl_value field can contain no data.
To indicate a zero-length value, set ldctl_value.bv_len to zero and ldctl_value.bv_val to a zero-length string.
To indicate that no data is associated with the control, set ldctl_value.bv_val to NULL.
Specifies whether the control is critical to the operation.
If this field is non-zero, the operation fails if the LDAP server doesn't recognize the control.
If this field is set to zero, the LDAP can continue the operation when it doesn't recognize the control.