holland-discuss team mailing list archive
-
holland-discuss team
-
Mailing list archive
-
Message #00023
(Very) Basic OpenLDAP Provider
Howdy Folks!
After some Googling, I didn't see a really good backup tool for OpenLDAP. They probably exist and I just suck at Googling but it gave me a good chance to try using the Holland framework to do something both neat and actually useful for my job (which means I can work on it for my workey work time, yay!).
So I have created an OpenLDAP plugin that uses 'slapcat' to produce a backup. 'slapcat' is actually not very feature rich so I am wondering if other methods would be suitable (such as the OpenLDAP Python library) though documentation online seems to point to slapcat for a no frills get 'er down backup. In my testing I had to use it once or twice so it seems to do the trick.
Anyways, I have this in my Holland fork (https://github.com/m00dawg/holland). Any suggestions would be appreciated. My Python foo sort of went away pretty quickly after not using it for a few months so I ended up using the random and sqlite plugins as templates.
If you look at the source files, there not a lot of log debugging going on. I could not get log.DEBUG = ... working for some reason?
By the way, that virtual_env.py script freaking rocks!
Follow ups