List Info

Thread: uAnn: active directory module




uAnn: active directory module
country flaguser name
United States
2007-03-12 09:10:40
After a hiatus of about 18 months, I've finally done a bit
of work on my 
active_directory module. There's nothing too radical, but I
hope I've 
made things a bit easier for some people. Treat this release
as a bit 
experimental, but it is functioning ok for me.

One area I'm very weak in is multiple domains / trees /
forests, 
basically because we don't use them, so it's hard to test
things.

h
ttp://timgolden.me.uk/python/active_directory.html

Principal Changes:

+ I've added a load more text on the web page

+ There are module and object-level convenience functions
for finding a user, group, computer, ou and public folder. I
hope this 
will meet a lot of simple needs which people have.
Suggestions for 
further convenience functions will be favourably received!

+ Many of the AD object properties are wrapped, making
reading them 
easier. I intend to do something to make writing back
easier, but 
haven't yet. (You can already set properties if you know
what you're doing).

+ There's an experimental .walk method on the _AD_group
object, which 
mimics the os.walk interface, returning group, groups, users
for each 
group in the list. This was inspired by some code which Dirk
Hagemann 
sent me absolutely ages ago. (Sorry!)

+ The AD_object call is now a factory function, doing
intelligent
things with either a path string ("LDAP://...") or
an existing
AD COM object.

As it happens, I don't have all that much use for this
module myself, so 
I'm very grateful to everyone who comes up with use-cases
and "Is it 
possible to...?" questions which spur me on to better
understanding.

TJG
_______________________________________________
Python-win32 mailing list
Python-win32python.org

http://mail.python.org/mailman/listinfo/python-win32

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )