Todd Dolinsky wrote:
> Hi everyone -
> 
> I'd like to write a script that can return a list of users/groups that
> have a given privilege.  After researching a bit I found the
> win32security.Lsa* functions from the newest Python 2.* releases to be
> exactly what I'm looking for.  The problem is that the application I
> am writing for requires Python 1.5.2, and I can't seem to compile a
> working version using this older version of Python.
> 
> Has anyone been able to access the LSA functions in Python 1.5.2?  I
> don't need to use one of the most recent builds per-se, just one that
> has the above functions.
> 
> Thanks for your help.
> 
> Todd

It should be possible to backport these functions, but it would take
some research into whether their current implementation uses any
features added since 1.5.2.  You could start with source for the
last build issued for 1.52 and try copying just the functions you need
into win32security.i.  However, right now the older builds on Mark's
Starship page aren't available since the starship site had some major
problems.

       Roger

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to