Lines Matching refs:lserverctrls

1176 	LDAPControl **lserverctrls = NULL;  in PHP_FUNCTION()  local
1189 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 4); in PHP_FUNCTION()
1190 if (lserverctrls == NULL) { in PHP_FUNCTION()
1205 lserverctrls, NULL, &msgid); in PHP_FUNCTION()
1226 if (lserverctrls) { in PHP_FUNCTION()
1227 _php_ldap_controls_free(&lserverctrls); in PHP_FUNCTION()
1439 LDAPControl **lserverctrls = NULL; in php_ldap_do_search() local
1629 _php_ldap_controls_free(&lserverctrls); in php_ldap_do_search()
1630 lserverctrls = php_ldap_controls_from_array(current_ld->link, server_controls_ht, 9); in php_ldap_do_search()
1631 if (lserverctrls == NULL) { in php_ldap_do_search()
1641 …p_base_dn), scope, ZSTR_VAL(ldap_filter), ldap_attrs, ldap_attrsonly, lserverctrls, NULL, NULL, ld… in php_ldap_do_search()
1689 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 9); in php_ldap_do_search()
1690 if (lserverctrls == NULL) { in php_ldap_do_search()
1699 …ase_dn_str), scope, ZSTR_VAL(filter_str), ldap_attrs, ldap_attrsonly, lserverctrls, NULL, NULL, ld… in php_ldap_do_search()
1745 if (lserverctrls) { in php_ldap_do_search()
1746 _php_ldap_controls_free(&lserverctrls); in php_ldap_do_search()
2226 LDAPControl **lserverctrls = NULL; in php_ldap_do_modify() local
2336 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 4); in php_ldap_do_modify()
2337 if (lserverctrls == NULL) { in php_ldap_do_modify()
2348 ldap_status_code = ldap_add_ext(ld->link, dn, ldap_mods, lserverctrls, NULL, &msgid); in php_ldap_do_modify()
2350 ldap_status_code = ldap_add_ext_s(ld->link, dn, ldap_mods, lserverctrls, NULL); in php_ldap_do_modify()
2370 ldap_status_code = ldap_modify_ext(ld->link, dn, ldap_mods, lserverctrls, NULL, &msgid); in php_ldap_do_modify()
2372 ldap_status_code = ldap_modify_ext_s(ld->link, dn, ldap_mods, lserverctrls, NULL); in php_ldap_do_modify()
2407 if (lserverctrls) { in php_ldap_do_modify()
2408 _php_ldap_controls_free(&lserverctrls); in php_ldap_do_modify()
2480 LDAPControl **lserverctrls = NULL; in php_ldap_do_delete() local
2495 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 3); in php_ldap_do_delete()
2496 if (lserverctrls == NULL) { in php_ldap_do_delete()
2503 rc = ldap_delete_ext(ld->link, dn, lserverctrls, NULL, &msgid); in php_ldap_do_delete()
2505 rc = ldap_delete_ext_s(ld->link, dn, lserverctrls, NULL); in php_ldap_do_delete()
2528 if (lserverctrls) { in php_ldap_do_delete()
2529 _php_ldap_controls_free(&lserverctrls); in php_ldap_do_delete()
2558 LDAPControl **lserverctrls = NULL; in PHP_FUNCTION() local
2701 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 4); in PHP_FUNCTION()
2702 if (lserverctrls == NULL) { in PHP_FUNCTION()
2703 _php_ldap_controls_free(&lserverctrls); in PHP_FUNCTION()
2782 int ldap_status = ldap_modify_ext_s(ld->link, dn, ldap_mods, lserverctrls, NULL); in PHP_FUNCTION()
2817 if (lserverctrls) { in PHP_FUNCTION()
2818 _php_ldap_controls_free(&lserverctrls); in PHP_FUNCTION()
2882 LDAPControl **lserverctrls = NULL; in PHP_FUNCTION() local
2900 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 5); in PHP_FUNCTION()
2901 if (lserverctrls == NULL) { in PHP_FUNCTION()
2907 ldap_errno = ldap_compare_ext_s(ld->link, dn, attr, &lvalue, lserverctrls, NULL); in PHP_FUNCTION()
2924 if (lserverctrls) { in PHP_FUNCTION()
2925 _php_ldap_controls_free(&lserverctrls); in PHP_FUNCTION()
3309 LDAPControl **lserverctrls = NULL; in PHP_FUNCTION() local
3328 serverctrls ? &lserverctrls : NULL, in PHP_FUNCTION()
3338 _php_ldap_controls_to_array(ld->link, lserverctrls, serverctrls, 0); in PHP_FUNCTION()
3559 LDAPControl **lserverctrls = NULL; in php_ldap_do_rename() local
3581 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 6); in php_ldap_do_rename()
3582 if (lserverctrls == NULL) { in php_ldap_do_rename()
3589 rc = ldap_rename(ld->link, dn, newrdn, newparent, deleteoldrdn, lserverctrls, NULL, &msgid); in php_ldap_do_rename()
3591 rc = ldap_rename_s(ld->link, dn, newrdn, newparent, deleteoldrdn, lserverctrls, NULL); in php_ldap_do_rename()
3629 if (lserverctrls) { in php_ldap_do_rename()
3630 _php_ldap_controls_free(&lserverctrls); in php_ldap_do_rename()
3896 LDAPControl **lserverctrls = NULL; in php_ldap_exop() local
3921 lserverctrls = php_ldap_controls_from_array(ld->link, server_controls_ht, 4); in php_ldap_exop()
3922 if (lserverctrls == NULL) { in php_ldap_exop()
3932 lserverctrls, in php_ldap_exop()
3966 lserverctrls, in php_ldap_exop()
3988 if (lserverctrls) { in php_ldap_exop()
3989 _php_ldap_controls_free(&lserverctrls); in php_ldap_exop()
4015 LDAPControl *ctrl, **lserverctrls = NULL, *requestctrls[2] = { NULL, NULL }; in PHP_FUNCTION() local
4068 …rc = ldap_parse_result(ld->link, ldap_res, &err, NULL, &errmsg, NULL, (serverctrls ? &lserverctrls in PHP_FUNCTION()
4076 _php_ldap_controls_to_array(ld->link, lserverctrls, serverctrls, 0); in PHP_FUNCTION()