LDAP_OPT_SERVER_CONTROLS

Use the LDAP_OPT_SERVER_CONTROLS setting to specify a default list of server controls to be sent with each request.

The default list can be overridden by specifying a server control, or list of server controls, on specific APIs. By default, there are no settings for server controls. For example:
ldap_set_option( ld, LDAP_OPT_SERVER_CONTROLS, &ctrlp);