Lines Matching refs:ldap_errno
1567 int num_attribs = 0, ret = 1, i, ldap_errno, argcount = ZEND_NUM_ARGS(); in php_ldap_do_search() local
1774 …ldap_errno = ldap_search_ext_s(ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), lda… in php_ldap_do_search()
1776 if (ldap_errno != LDAP_SUCCESS in php_ldap_do_search()
1777 && ldap_errno != LDAP_SIZELIMIT_EXCEEDED in php_ldap_do_search()
1779 && ldap_errno != LDAP_ADMINLIMIT_EXCEEDED in php_ldap_do_search()
1782 && ldap_errno != LDAP_REFERRAL in php_ldap_do_search()
1790 php_error_docref(NULL, E_WARNING, "Search: %s", ldap_err2string(ldap_errno)); in php_ldap_do_search()
1793 if (ldap_errno == LDAP_SIZELIMIT_EXCEEDED) { in php_ldap_do_search()
1797 else if (ldap_errno == LDAP_ADMINLIMIT_EXCEEDED) { in php_ldap_do_search()
2976 PHP_FUNCTION(ldap_errno) in PHP_FUNCTION() argument
3034 int ldap_errno; in PHP_FUNCTION() local
3055 ldap_errno = ldap_compare_ext_s(ld->link, dn, attr, &lvalue, lserverctrls, NULL); in PHP_FUNCTION()
3057 switch (ldap_errno) { in PHP_FUNCTION()
3067 php_error_docref(NULL, E_WARNING, "Compare: %s", ldap_err2string(ldap_errno)); in PHP_FUNCTION()