Dashboard > Linux > Cacti and OpenLDAP
Linux Log In   View a printable version of the current page.
Cacti and OpenLDAP
Added by Alex Polvi, last edited by Eric Searcy on Nov 28, 2005  (view change)
Labels: 
(None)

Set up cacti
  1. Login as admin
  2. Navigate Settings > Authentication
  3. Fill out the fields. The only one that is remotely tricky is LDAP DN
    LDAP DN example:
    uid=<username>,ou=People,dc=osuosl,dc=org
    
The cacti hack

Cacti needs to explicitly define an LDAP version to use. A bug has been filed regarding this issue. Bug (supposedly) fixed in version 0.8.7, although this does not seem to be the case. However, the remark was that it would be fixed in the next version (which will be a major revision), assumedly 0.9 or 1.0.

For now, you still need to add this:

ldap_set_option($ldap_conn, LDAP_OPT_PROTOCOL_VERSION, 3);

in auth_login.php directly after the first ldap_connect function is ran.

Patch attached.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators