Lines Matching refs:errno
1453 int num_attribs = 0, ret = 1, i, errno, argcount = ZEND_NUM_ARGS(); in php_ldap_do_search() local
1638 …errno = ldap_search_ext_s(ld->link, ZSTR_VAL(ldap_base_dn), scope, ZSTR_VAL(ldap_filter), ldap_att… in php_ldap_do_search()
1640 if (errno != LDAP_SUCCESS in php_ldap_do_search()
1641 && errno != LDAP_SIZELIMIT_EXCEEDED in php_ldap_do_search()
1643 && errno != LDAP_ADMINLIMIT_EXCEEDED in php_ldap_do_search()
1646 && errno != LDAP_REFERRAL in php_ldap_do_search()
1654 php_error_docref(NULL, E_WARNING, "Search: %s", ldap_err2string(errno)); in php_ldap_do_search()
1657 if (errno == LDAP_SIZELIMIT_EXCEEDED) { in php_ldap_do_search()
1661 else if (errno == LDAP_ADMINLIMIT_EXCEEDED) { in php_ldap_do_search()
2948 int errno; in PHP_FUNCTION() local
2970 errno = ldap_compare_ext_s(ld->link, dn, attr, &lvalue, lserverctrls, NULL); in PHP_FUNCTION()
2972 switch (errno) { in PHP_FUNCTION()
2982 php_error_docref(NULL, E_WARNING, "Compare: %s", ldap_err2string(errno)); in PHP_FUNCTION()
3020 php_error_docref(NULL, E_WARNING, "%s", ldap_err2string(errno)); in PHP_FUNCTION()
4655 ZEND_ARG_INFO(0, errno)