Pages: [1]   Go Down
Author Topic: LDAP and Active Directory  (Read 503 times)
0 Members and 1 Guest are viewing this topic.
rich.anderson
Newbie
*

Karma: 0
Offline Offline

Posts: 4


View Profile
« on: October 10, 2011, 07:14:19 PM »

I am using Pandora 4.0 and there doesn't seem to be an option for Active Directory and LDAP doesn't seem to work.  The features page (http://pandorafms.com/index.php?sec=pandora&sec2=features) indicates that Active Directory is supported in both community and Enterprise versions of Pandora.

Is Active Directory only available in the Enterprise version?  Is there something else I need to do to get LDAP working?
Logged

rich.anderson
Newbie
*

Karma: 0
Offline Offline

Posts: 4


View Profile
« Reply #1 on: October 11, 2011, 08:52:00 PM »

I have learned that Active Directory only works on the Enterprise version.  In the meantime, has anyone gotten LDAP to work?
Logged

rich.anderson
Newbie
*

Karma: 0
Offline Offline

Posts: 4


View Profile
« Reply #2 on: October 12, 2011, 08:48:08 PM »

We have modified the include/auth/mysql.php file to allow ldap from active directory (Windows 2008 R2).

Commented out this line:
if (strlen($password) == 0 || !@ldap_bind ($ds, $config["ldap_login_attr"]."=".$login.",".$config["ldap_base_dn"], $password)) {

And we replaced it with this one:
        if (strlen($password) == 0 || !@ldap_bind ($ds, $login."@my.domain.com", $password))

This could be better, and much of the ldap configuration in the web interface is non-functioning, but this works for our needs.

Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST