You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a sid from pywin32 passed into FspPosixMapSidToUid() but I can't figure out how to convert it from a PySID to the cffiPSID generated in this library.
I can get the raw bytes of the PySID using memoryview().tobytes() ot .tolist() but I can't seem to use them as an initializer for PSID because they're not the same size (28 bytes versus 12 bytes respectively)
I'm trying to get a sid from
pywin32
passed intoFspPosixMapSidToUid()
but I can't figure out how to convert it from aPySID
to thecffi
PSID
generated in this library.I can get the raw bytes of the
PySID
usingmemoryview().tobytes()
ot.tolist()
but I can't seem to use them as an initializer forPSID
because they're not the same size (28 bytes versus 12 bytes respectively)The root problem I'm trying to chase is detailed more in tannercollin/standardnotes-fs#15.
Any thoughts?
The text was updated successfully, but these errors were encountered: