-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
2.4.5
-
root@dev-monitoring-test:/var/log/apache2 $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
root@dev-monitoring-test:/var/log/apache2 $ dpkg -l | egrep -i '(apache|php|ldap|zabbix)'
ii apache2 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server
ii apache2-bin 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server (binary files and modules)
ii apache2-data 2.4.7-1ubuntu4.4 all Apache HTTP Server (common files)
ii ldap-auth-client 0.5.3 all meta-package for LDAP authentication
ii ldap-auth-config 0.5.3 all Config package for LDAP authentication
ii ldap-utils 2.4.31-1+nmu2ubuntu8.1 amd64 OpenLDAP utilities
ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.9 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapr1:amd64 1.5.0-1 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - LDAP Driver
ii libldap-2.4-2:amd64 2.4.31-1+nmu2ubuntu8.1 amd64 OpenLDAP libraries
ii libldb1:amd64 1:1.1.16-1 amd64 LDAP-like embedded database - shared library
ii libnss-ldapd:amd64 0.8.13-3 amd64 NSS module for using LDAP as a naming service
ii libpam-ldap:amd64 184-8.5ubuntu3 amd64 Pluggable Authentication Module for LDAP
ii nslcd 0.8.13-3 amd64 daemon for NSS and PAM lookups using LDAP
ii php5 5.5.9+dfsg-1ubuntu4.9 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cli 5.5.9+dfsg-1ubuntu4.9 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.5.9+dfsg-1ubuntu4.9 amd64 Common files for packages built from the php5 source
ii php5-gd 5.5.9+dfsg-1ubuntu4.9 amd64 GD module for php5
ii php5-json 1.3.2-2build1 amd64 JSON module for php5
ii php5-ldap 5.5.9+dfsg-1ubuntu4.9 amd64 LDAP module for php5
ii php5-mysql 5.5.9+dfsg-1ubuntu4.9 amd64 MySQL module for php5
ii php5-pgsql 5.5.9+dfsg-1ubuntu4.9 amd64 PostgreSQL module for php5
ii php5-readline 5.5.9+dfsg-1ubuntu4.9 amd64 Readline module for php5
ii zabbix-agent 1:2.4.5-1+trusty amd64 network monitoring solution - agent
ii zabbix-frontend-php 1:2.4.5-1+trusty all network monitoring solution - PHP front-end
ii zabbix-server-pgsql 1:2.4.5-1+trusty amd64 network monitoring solution - server (using PostgreSQL)
root@dev-monitoring-test:/var/log/apache2 $ uname -a
Linux dev-monitoring-test 3.13.0-54-generic #91-Ubuntu SMP Tue May 26 19:15:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@dev-monitoring-test:/var/log/apache2 $root@dev-monitoring-test :/var/log/apache2 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty root@dev-monitoring-test :/var/log/apache2 $ dpkg -l | egrep -i '(apache|php|ldap|zabbix)' ii apache2 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server ii apache2-bin 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server (binary files and modules) ii apache2-data 2.4.7-1ubuntu4.4 all Apache HTTP Server (common files) ii ldap-auth-client 0.5.3 all meta-package for LDAP authentication ii ldap-auth-config 0.5.3 all Config package for LDAP authentication ii ldap-utils 2.4.31-1+nmu2ubuntu8.1 amd64 OpenLDAP utilities ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.9 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libapr1:amd64 1.5.0-1 amd64 Apache Portable Runtime Library ii libaprutil1:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library ii libaprutil1-dbd-sqlite3:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver ii libaprutil1-ldap:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - LDAP Driver ii libldap-2.4-2:amd64 2.4.31-1+nmu2ubuntu8.1 amd64 OpenLDAP libraries ii libldb1:amd64 1:1.1.16-1 amd64 LDAP-like embedded database - shared library ii libnss-ldapd:amd64 0.8.13-3 amd64 NSS module for using LDAP as a naming service ii libpam-ldap:amd64 184-8.5ubuntu3 amd64 Pluggable Authentication Module for LDAP ii nslcd 0.8.13-3 amd64 daemon for NSS and PAM lookups using LDAP ii php5 5.5.9+dfsg-1ubuntu4.9 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.5.9+dfsg-1ubuntu4.9 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.5.9+dfsg-1ubuntu4.9 amd64 Common files for packages built from the php5 source ii php5-gd 5.5.9+dfsg-1ubuntu4.9 amd64 GD module for php5 ii php5-json 1.3.2-2build1 amd64 JSON module for php5 ii php5-ldap 5.5.9+dfsg-1ubuntu4.9 amd64 LDAP module for php5 ii php5-mysql 5.5.9+dfsg-1ubuntu4.9 amd64 MySQL module for php5 ii php5-pgsql 5.5.9+dfsg-1ubuntu4.9 amd64 PostgreSQL module for php5 ii php5-readline 5.5.9+dfsg-1ubuntu4.9 amd64 Readline module for php5 ii zabbix-agent 1:2.4.5-1+trusty amd64 network monitoring solution - agent ii zabbix-frontend-php 1:2.4.5-1+trusty all network monitoring solution - PHP front-end ii zabbix-server-pgsql 1:2.4.5-1+trusty amd64 network monitoring solution - server (using PostgreSQL) root@dev-monitoring-test :/var/log/apache2 $ uname -a Linux dev-monitoring-test 3.13.0-54-generic #91-Ubuntu SMP Tue May 26 19:15:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@dev-monitoring-test :/var/log/apache2 $
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.