Ad Widget

Collapse

LDAPS "Cannot bind to LDAP Server" - Zabbix 4.2.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gr3g.f0x
    Junior Member
    • Aug 2019
    • 1

    #1

    LDAPS "Cannot bind to LDAP Server" - Zabbix 4.2.5

    I have been struggling to get LDAPS to work.

    I was able to successfully bind to the LDAPS server using ldapsearch on the Zabbix host via command line.

    When I put those same settings into Zabbit, I continue to get "Cannot bind to LDAP server".

    I have tried using both an FQDN for the LDAP host and IP Address.

    Here are my settings in Zabbix:
    LDAP Host: ldaps://IP & ldaps://FQDN
    Port: 636
    BaseDN: dc=example,dc=com
    Search attribute: sAMAccountName
    Bind DN: CN=user,OU=Service,OU=Accounts,OU=example,DC=examp le,DC=com
    Case Sensitive is off.
    Bind password: LDAP account password

    I'm banging my head here, I cannot figure out why this isn't working.

    Is there a known issue with the web interface? I can't get past that it works from cli but not from Zabbix!
  • just4fun
    Member
    • Jun 2010
    • 32

    #2
    Same issue here with version 4.2.6

    Comment

    • just4fun
      Member
      • Jun 2010
      • 32

      #3
      I did some debugging now and found the issue! The problem was that, when adding the "search attribute" to the form, by mistake I have added a trailing blank and so the filter in CLdap.php will be created as "(sAMAccountName =....) which then fails.

      Wouldn't it be a good idea to "trim" such strings?

      Comment

      Working...