Ldap support

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
donutboy
Posts: 8
Joined: Fri Jun 23, 2006 10:10 pm

Ldap support

Post by donutboy »

To tie this into our ldap tree.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you expand on this a little?
Phil
pkmminc
Posts: 7
Joined: Thu Jul 27, 2006 5:30 pm

LDAP

Post by pkmminc »

I think I might have a idea as I would like to see some kind of LDAP Support.

Use the LDAP for authentication into the ZoneMinder interface. Then be able to select from that ldap list the users to which can make changes to ZoneMinder and view/edit monitors.

I think it would a lot of additional programming. You'd need a basic connection file with the correct DN's for login and searchs. I have used a couple of apps that I like the way it works.

jive softwares wildfire is a nice example. It simple uses ldap for login and you fille in your groups via the database. www.jive-software.org

Horde is a really good one, that allows you have groups within LDAP.

Another Idea with the use od LDAP is store ZoneMinder info with in a custom scheme. then you would be able to have a bunch of ZoneMinders using the LDAP server. Like a ZM farm. Then possible build the daemon to look at the LDAP for configs. Under one OU you could have <Server> and <device>. All the servers would only read the info that has their sever name. Then you would only need one Web Interface with shared storage.
uxbod
Posts: 28
Joined: Sun Dec 19, 2004 6:51 pm

Post by uxbod »

Personally, I would leave the configuration in MySQL as you can cluster that nicely aswell. Using LDAP is a good idea as you can integrate with AD aswell.

Starter for 10 :- http://adldap.sourceforge.net/
donutboy
Posts: 8
Joined: Fri Jun 23, 2006 10:10 pm

Post by donutboy »

Wow. Thanks!
Solar
Posts: 13
Joined: Fri Aug 18, 2006 11:11 pm
Location: South Africa

Post by Solar »

It's really easy to impliment LDAP authentication if you use the php libraries. I wrote an extension for ZoneMinder in about 2 hours.

All the user info is still held within mySQL, and just the password is sent to LDAP (AD in our case) for validation. If anyone is interested I can post the code here. It's only about 2 lines of changes in zm_funcs if you include my functions.


Check this out:
http://www.zoneminder.com/forums/viewtopic.php?t=8588

Regards,
Christiaan
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

By all means post it here, or mail/pm it to me and I will ensure it gets added into the next release.
Phil
bburton82
Posts: 3
Joined: Fri Mar 27, 2009 2:55 pm

Post by bburton82 »

Hi. Whats about the ldap integration now? can we use it or is there maybe a good manual how to integrate it?

regards.
br.
Post Reply