Ad Widget

Collapse

Please Help - Cannot bind to LDAP server.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ANigma91
    Junior Member
    • Apr 2022
    • 21

    #1

    Please Help - Cannot bind to LDAP server.

    Good afternoon!
    I use zabbix 7.0.4 in my infrastructure. Zabbix is installed on OEL 9.4
    Zabbix 7.0.4: OS: Oracle 9.4 Postgresql 16 Nginx
    I checked zabbix availability before AD using telnet 389 and 636, nmap and ldapsearch ports are open
    Tell me where you can view the logs of zabbix regarding ldap

    Click image for larger version

Name:	Screenshot 2024-10-31 121421.png
Views:	620
Size:	13.6 KB
ID:	493603
    Click image for larger version

Name:	Screenshot 2024-10-31 121135.png
Views:	732
Size:	25.8 KB
ID:	493601
    Attached Files
  • zabbixuser39393
    Junior Member
    • Jan 2021
    • 26

    #2
    My ldap bind did start to work when /etc/openldap/ldap.conf have only these two settings in file

    SASL_NOCANON on
    TLS_REQCERT allow

    Is Your domain mng.drive.tech.ru ? What level Your ad is? (meaning top level: mng.drive.tech.ru or drive.tech.ru or tech.ru? So is it DN=tech,DN=ru or DN=drive,DN=tech,DN=ru or Yours?)

    Does these queries work?

    ldapsearch -H "ldap://192.168.10.1" -D "zabbix" -b "OU=comp,DC=mng,DC=drive,DC=tech,DC=ru" -W CN=zabbix,OU=comp,DC=drive,DC=tech,DC=tech,DC=ru
    ldapsearch -H "ldaps://192.168.10.1" -D "zabbix" -b "OU=comp,DC=mng,DC=drive,DC=tech,DC=ru" -W CN=zabbix,OU=comp,DC=drive,DC=tech,DC=tech,DC=ru
    Last edited by zabbixuser39393; 06-11-2024, 14:45.

    Comment

    Working...