This function returns a pointer to an allocated LDAPControl structure if successful, or NULL if an error occurs.