Lines Matching refs:ldap_attrs
413 char** ldap_attrs = NULL; in php_ldap_control_from_array() local
533 ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0); in php_ldap_control_from_array()
549 ldap_attrs[i] = ZSTR_VAL(tmpstrings1[num_tmpstrings1]); in php_ldap_control_from_array()
552 ldap_attrs[num_attribs] = NULL; in php_ldap_control_from_array()
556 if (ber_printf(ber, "{v}", ldap_attrs) == -1) { in php_ldap_control_from_array()
728 if (ldap_attrs != NULL) { in php_ldap_control_from_array()
729 efree(ldap_attrs); in php_ldap_control_from_array()
1435 char **ldap_attrs = NULL; in php_ldap_do_search() local
1489 ldap_attrs = safe_emalloc(num_attribs+1, sizeof(char *), 0); in php_ldap_do_search()
1506 ldap_attrs[attribute_index] = ZSTR_VAL(attribute); in php_ldap_do_search()
1508 ldap_attrs[num_attribs] = NULL; in php_ldap_do_search()
1641 …urrent_ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), ldap_attrs, ldap_attrsonly,… in php_ldap_do_search()
1699 …ch_ext_s(ld->link, ZSTR_VAL(base_dn_str), scope, ZSTR_VAL(filter_str), ldap_attrs, ldap_attrsonly,… in php_ldap_do_search()
1739 if (ldap_attrs != NULL) { in php_ldap_do_search()
1740 efree(ldap_attrs); in php_ldap_do_search()