Ad Widget

Collapse

LDAP Support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • houst0n
    Junior Member
    • Feb 2011
    • 1

    #1

    LDAP Support

    Hi Guys,

    I'm trying to hook zabbix into our ldap (dsee6) and hitting a few problems.

    Firstly the "Username" part of the authentication page is not editible so to test ldap is working before hitting save I actually had to rename the Admin account to match a uid present in our directory.

    Secondly, I get an error like:

    * ldap_search() [<a href='function.ldap-search'>function.ldap-search</a>]: Search: No such object[/usr/share/zabbix/include/classes/class.cldap.php:195]
    * ldap_get_entries(): supplied argument is not a valid ldap result resource[/usr/share/zabbix/include/classes/class.cldap.php:196]
    * LDAP: User not found

    If I change the bind password to something incorrect I get a "could not bind" error which is as expected so something else is borken here.

    Has anyone had some success here and has any tricks to pass on?

    Willing to help out with TLS/ldaps support also, something we want/need here.
  • victorhugopa
    Member
    Zabbix Certified Specialist
    • Apr 2010
    • 66

    #2
    I have the same problem (ZABBIX 1.8.2).

    "ERROR: LDAP Login was not successful

    ldap_search() [<a href='function.ldap-search'>function.ldap-search</a>]: Search: No such object[/usr/share/zabbix/include/classes/class.cldap.php:195]

    ldap_get_entries(): supplied argument is not a valid ldap result resource[/usr/share/zabbix/include/classes/class.cldap.php:196]

    LDAP: User not found"

    All parameters are correct.

    Any ideas?
    Tks

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      Necroposting a bit, but I ended up needing "cn=users,cn=accounts" in front of the base DN that "ldapsearch" accepted.
      Zabbix 3.0 Network Monitoring book

      Comment

      Working...