Lines Matching refs:ldap_attrs
390 char** ldap_attrs = NULL; in _php_ldap_control_from_array() local
510 ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0); in _php_ldap_control_from_array()
526 ldap_attrs[i] = ZSTR_VAL(tmpstrings1[num_tmpstrings1]); in _php_ldap_control_from_array()
529 ldap_attrs[num_attribs] = NULL; in _php_ldap_control_from_array()
533 if (ber_printf(ber, "{v}", ldap_attrs) == -1) { in _php_ldap_control_from_array()
705 if (ldap_attrs != NULL) { in _php_ldap_control_from_array()
706 efree(ldap_attrs); in _php_ldap_control_from_array()
1433 char **ldap_attrs = NULL; in php_ldap_do_search() local
1472 ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0); in php_ldap_do_search()
1486 ldap_attrs[i] = Z_STRVAL_P(attr); in php_ldap_do_search()
1488 ldap_attrs[num_attribs] = NULL; in php_ldap_do_search()
1594 …ldap_search_ext(ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), ldap_attrs, ldap_a… in php_ldap_do_search()
1652 …_ext_s(ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), ldap_attrs, ldap_attrsonly,… in php_ldap_do_search()
1698 if (ldap_attrs != NULL) { in php_ldap_do_search()
1699 efree(ldap_attrs); in php_ldap_do_search()