A control can be specified in an LDIF file using the following format:
control: <oid> <TRUE/FALSE>[::base64 encoded data]
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 ...