On Wed, Jun 27, 2018 at 5:04 AM, Rob Marshall <rob.marshal...@gmail.com> wrote:
>
> I'm trying to convert a self-relative security descriptor, i.e. the
> type that is returned by
> win32security.ConvertStringSecurityDescriptorToSecurityDescriptor(),
> to an absolute SD but I can't seem to find the MakeAbsoluteSD()
> function. Where is it?

A PySECURITY_DESCRIPTOR object is stored in self-relative format.
Internally it's converted to absolute format for functions that
require it, such as SetSecurityDescriptorDacl. See the source:

https://github.com/mhammond/pywin32/blob/b223/win32/src/PySECURITY_DESCRIPTOR.cpp
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to