Test variable as resource before exec ldap_control_paged_result_response