Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9647

CLldap.php ldap_get_entries() complains of "expects parameter 2 to be resource, boolean given"

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.4.5
    • Frontend (F)

      When trying to configure LDAP authentication through the web administration frontend, I get the following error message:

      ldap_search(): Search: No such object [authentication.php:120 ? CLdapAuthValidator->validate() ? CLdap->checkPass() ? CLdap->getUserData() ? ldap_search() in /usr/share/zabbix/include/classes/ldap/CLdap.php:198]
      ldap_get_entries() expects parameter 2 to be resource, boolean given [authentication.php:120 ? CLdapAuthValidator->validate() ? CLdap->checkPass() ? CLdap->getUserData() ? ldap_get_entries() in /usr/share/zabbix/include/classes/ldap/CLdap.php:199]
      LDAP: User not found.
      Login name or password is incorrect!
      

      I am reasonably sure that the credentials I have entered are correct (they are in use on other systems). The first two lines of the error message suggest to me that there is something other than a configuration value wrong here.

            Unassigned Unassigned
            nicolaw Nicola Worthington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: