Ad Widget

Collapse

Zabbix 6.0.7 - Cannot bind to LDAP server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndWei
    Junior Member
    • Apr 2014
    • 12

    #1

    Zabbix 6.0.7 - Cannot bind to LDAP server

    Problem:
    Cannot login with Active Directory credentials to Zabbix 6
    Testing the LDAP connection via the web interface results in "Cannot bind to LDAP server."

    What was done:
    Export of the Zabbix 5 database with mysqldump on the old server
    Import of the Dump to the new server
    Code:
    6539:20220726:092843.317 completed 100% of database upgrade
    6539:20220726:092843.317 database upgrade fully completed
    6539:20220726:092843.318 database could be upgraded to use primary keys in history tables
    6539:20220726:092843.320 database is not upgraded to use double precision values
    The LDAP connection data is visible in the web configuration afterwards, a green dot is attached to the LDAP settings tab

    I have seeen a similar bug reported (ZBXNEXT-7769) but it was for docker images and is now closed. Any help would be appreciated.

    Current setup:
    Old server New server
    CentOS Linux release 7.9.2009 Oracle Linux Server release 9.0
    zabbix-release-5.0-1.el7.noarch
    zabbix-web-mysql-scl-5.0.26-1.el7.noarch
    zabbix-agent-5.0.26-1.el7.x86_64
    zabbix-web-5.0.26-1.el7.noarch
    zabbix-server-mysql-5.0.26-1.el7.x86_64
    zabbix-cli-2.2.1-1.el7.noarch
    zabbix-get-5.0.26-1.el7.x86_64
    zabbix-web-deps-scl-5.0.26-1.el7.noarch
    zabbix-release-6.0-3.el9.noarch
    zabbix-web-6.0.7-1.el9.noarch
    zabbix-web-mysql-6.0.7-1.el9.noarch
    zabbix-web-deps-6.0.7-1.el9.noarch
    zabbix-server-mysql-6.0.7-1.el9.x86_64
    zabbix-apache-conf-6.0.7-1.el9.noarch
    zabbix-sql-scripts-6.0.7-1.el9.noarch
    zabbix-selinux-policy-6.0.7-1.el9.x86_64
    zabbix-agent-6.0.7-1.el9.x86_64
    rh-php72-php-xml-7.2.24-1.el7.x86_64
    rh-php72-php-process-7.2.24-1.el7.x86_64
    rh-php72-php-mbstring-7.2.24-1.el7.x86_64
    rh-php72-php-fpm-7.2.24-1.el7.x86_64
    rh-php72-php-zip-7.2.24-1.el7.x86_64
    rh-php72-php-bcmath-7.2.24-1.el7.x86_64
    rh-php72-php-mysqlnd-7.2.24-1.el7.x86_64
    rh-php72-1-2.el7.x86_64
    rh-php72-php-json-7.2.24-1.el7.x86_64
    rh-php72-php-cli-7.2.24-1.el7.x86_64
    rh-php72-php-pdo-7.2.24-1.el7.x86_64
    rh-php72-php-pear-1.10.5-1.el7.noarch
    rh-php72-php-7.2.24-1.el7.x86_64
    rh-php72-runtime-1-2.el7.x86_64
    rh-php72-php-gd-7.2.24-1.el7.x86_64
    rh-php72-php-common-7.2.24-1.el7.x86_64
    rh-php72-php-ldap-7.2.24-1.el7.x86_64
    php-common-8.0.13-1.el9.x86_64
    php-bcmath-8.0.13-1.el9.x86_64
    php-ldap-8.0.13-1.el9.x86_64
    php-pdo-8.0.13-1.el9.x86_64
    php-mysqlnd-8.0.13-1.el9.x86_64
    php-xml-8.0.13-1.el9.x86_64
    php-mbstring-8.0.13-1.el9.x86_64
    php-fpm-8.0.13-1.el9.x86_64
    php-gd-8.0.13-1.el9.x86_64
  • AndWei
    Junior Member
    • Apr 2014
    • 12

    #2
    When i set selinux to disabled, it works (both in /etc/selinux/config and adding the boot parameter selinux=0). Tried it after reading in the Zabbix subreddit:

    https://www.reddit.com/r/zabbix/comm...uthentication/


    This Stackoverflow post suggests, that quote 'httpd_can_network_connect was set to off.' Maybe that helps someone.

    I will leave selinux disabled for the time being.
    Last edited by AndWei; 26-07-2022, 14:43. Reason: Added information regarding selinux.

    Comment

    Working...