LDAP with ActiveDirectory
Moderators: Developers, Moderators
LDAP with ActiveDirectory
Has anyone done this? Can we have a brief how-to?
I select the Use LDAP Authentication option.
I enter the LDAP server IP address and the DN.
(eg- CN=<username>,OU=Users,DC=domain,DC=com)
I get no login prompt at all, just dumped into Cacti.
Apparently it's not doing something right, because I
also get "Undefined index: sess_user_id" errors.
Has anyone integrated Cacti with AD? How did you do it?
(I checked the documentation first, but had no LDAP info.)
I select the Use LDAP Authentication option.
I enter the LDAP server IP address and the DN.
(eg- CN=<username>,OU=Users,DC=domain,DC=com)
I get no login prompt at all, just dumped into Cacti.
Apparently it's not doing something right, because I
also get "Undefined index: sess_user_id" errors.
Has anyone integrated Cacti with AD? How did you do it?
(I checked the documentation first, but had no LDAP info.)
http://www.TheHEMI.com/
I'm using LDAP authentication with my Win2K3 domain just fine.
LDAP Server: zeus.domainname.com
LDAP DN: <username>@zeus.domainname.com
LDAP Cacti Template User: GuestLDAP
I think your syntax for the DN is wrong.
LDAP Server: zeus.domainname.com
LDAP DN: <username>@zeus.domainname.com
LDAP Cacti Template User: GuestLDAP
I think your syntax for the DN is wrong.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
LDAP in Cacti 0.9 will be a lot more robust. One of the devs posted a screen shot a while ago.... only if I could find the thread.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Next version screen shot:
I dug it up for you..
I dug it up for you..
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
hoa
I have the same problem, I can't find any documentation on the cacti website about the ldap support in cacti... but I had try your syntax and it's not working for me I'm with a OpenLDAP acting as a PDC with samba I get no error just a blank page when I'm trying to log into cacti with ldap...
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, to use with OpenLDAP, you need a properly format DN for authenication.
Something like:
Replace people with the container for our users, replace domain with your domain. So that "domain.com" = "dc=domain,dc=com".
Hope this helps.
Something like:
Code: Select all
uid=<username>,ou=people,dc=domain,dc=com
Hope this helps.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
hoa
as u can see below in this little screen shot this is my tree
and this is my setting
ip: 192.168.0.10
dn: uid=<username>,ou=Users,dc=rb3k,dc=com
template user: GuestLDAP
now I get a acces denied when I'm trying to authentify but how can I raise the debug level cuz I don't get anything in the log file of cacti
does I need to put the user in a special group ?
and this is my setting
ip: 192.168.0.10
dn: uid=<username>,ou=Users,dc=rb3k,dc=com
template user: GuestLDAP
now I get a acces denied when I'm trying to authentify but how can I raise the debug level cuz I don't get anything in the log file of cacti
does I need to put the user in a special group ?
- Attachments
-
- ldap.JPG (20.05 KiB) Viewed 22465 times
-
- Posts: 24
- Joined: Tue Oct 16, 2007 2:59 am
Maybe someone can take a look at my post here: http://forums.cacti.net/about23948.html
Who is online
Users browsing this forum: No registered users and 0 guests