3.8 Using Controls

A control can be specified in an LDIF file using the following format:

 control: <oid> <TRUE/FALSE>[::base64 encoded data]
 

oid

Oid identifying the control.

TRUE/FALSE

Criticality. If the server does not recognize the control, or it is not appropriate for the operation, TRUE will cause the server to fail the operation. FALSE will cause the server to ignore the operation.

::base64 encoded data

Optional. Any data that might be required by this control, usually encoded in base64 format.

For example, the following LDIF snippet includes the DSA control to enable operations with superior referrals:

 dn:dc=Acme,dc=com
 control: 2.16.840.1.113730.3.4.2 TRUE
 changetype: add
 ...