Lines Matching refs:ldap_errno
1417 int num_attribs = 0, ret = 1, i, ldap_errno, argcount = ZEND_NUM_ARGS(); in php_ldap_do_search() local
1633 …ldap_errno = ldap_search_ext_s(ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), lda… in php_ldap_do_search()
1635 if (ldap_errno != LDAP_SUCCESS in php_ldap_do_search()
1636 && ldap_errno != LDAP_SIZELIMIT_EXCEEDED in php_ldap_do_search()
1638 && ldap_errno != LDAP_ADMINLIMIT_EXCEEDED in php_ldap_do_search()
1641 && ldap_errno != LDAP_REFERRAL in php_ldap_do_search()
1649 php_error_docref(NULL, E_WARNING, "Search: %s", ldap_err2string(ldap_errno)); in php_ldap_do_search()
1652 if (ldap_errno == LDAP_SIZELIMIT_EXCEEDED) { in php_ldap_do_search()
1656 else if (ldap_errno == LDAP_ADMINLIMIT_EXCEEDED) { in php_ldap_do_search()
2741 PHP_FUNCTION(ldap_errno) in PHP_FUNCTION() argument
2799 int ldap_errno; in PHP_FUNCTION() local
2823 ldap_errno = ldap_compare_ext_s(ld->link, dn, attr, &lvalue, lserverctrls, NULL); in PHP_FUNCTION()
2825 switch (ldap_errno) { in PHP_FUNCTION()
2835 php_error_docref(NULL, E_WARNING, "Compare: %s", ldap_err2string(ldap_errno)); in PHP_FUNCTION()