Ad Widget

Collapse

Authentication using LDAP error (Login name or password is incorrect!)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tom8254
    Junior Member
    • Nov 2016
    • 22

    #1

    Authentication using LDAP error (Login name or password is incorrect!)

    Hi,

    I'm facing on ldap configuration problem....

    Now our zabbix server is in 192.168.201.0/24 network and AD(Windows 2016) server is in 192.168.20.0/24.

    I tried to set authentication using ldap but I got "Login name or password is incorrect!" detailed error is as below.
    • ldap_bind(): Unable to bind to server: Can't contact LDAP server [authentication.php:135 → CLdapAuthValidator->validate() → CLdap->checkPass() → ldap_bind() in include/classes/ldap/CLdap.php:114]
    • LDAP: cannot bind by given Bind DN.

    What I tried
    - LDAP host : server IP address and ldap://FQDN
    - Port : 389
    - Base DN : DC=test,DC=com,DC=sg
    - Search attribute : sAMAccountName (I already tried it by CN as well)
    - Bind DN : ldap
    - Bind password : ldap's password
    - Login : ldap (Zabbix account as super admin)
    - Userpassword : ldap's password (Zabbix account)

    but same problem.

    Now our helpdesk system and MFP device are already using ldap with the above account but only Zabbix can't configure LDAP...
    and ldapsearch command is working well on Zabbix server.

    I don't know how to fix it.....can you help me out from this problem?
  • tom8254
    Junior Member
    • Nov 2016
    • 22

    #2
    I found the problem....When I configure the LDAP authentication the server doesn't send any packet to the LDAP server....I've checked it using tcpdump on Zabbix server

    My system is divided Zabbix server, Zabbix DB server, Zabbix web server

    I think this makes the problem.
    Last edited by tom8254; 31-08-2018, 05:56.

    Comment

    Working...