search for: convertstringsidtosid

Displaying 2 results from an estimated 2 matches for "convertstringsidtosid".

2009 Aug 02
2
win32-security, 1.9.x, encoding issue?
...curity/sid.rb:111:in `string_to_sid'' test/test_sid.rb:62:in `test_string_to_sid'' Where line 111 is the last line of this: def self.string_to_sid(string) sid_buf = 0.chr * 80 string_addr = [string].pack(''p*'').unpack(''L'')[0] unless ConvertStringSidToSid(string_addr, sid_buf) raise Error, get_last_error end sid_buf.strip end I searched on the web but I wasn''t really sure what the best or correct solution was. I really hope we don''t have to mess around with file encodings. Regards, Dan
2007 Sep 28
0
Wine release 0.9.46
...11.drv Unicode, implement WTInfoW. wintab32: Store the context internally as Unicode, implement WTOpenW and WTGetW. wintab32: Add DisableThreadLibraryCalls. advapi32: Fix a test. ntdll: Add RtlAddAuditAccessAceEx. advapi32: Add AddAuditAccessAceEx. advapi32: Make ConvertStringSidToSid not to ignore the first subauthority. wine.inf: add four keys found on Windows XP to Active Setup\Installed Components. include: Fix the definition of VALID_INHERIT_FLAGS. advapi32: Implement ConvertSecurityDescriptorToStringSecurityDescriptor[AW]. advapi32: Make ConvertSidT...