search for: test_sid

Displaying 1 result from an estimated 1 matches for "test_sid".

Did you mean: test_id
2009 Aug 02
2
win32-security, 1.9.x, encoding issue?
...r: test_string_to_sid(TC_Win32_Security_Sid): ArgumentError: invalid byte sequence in US-ASCII c:/Users/djberge/workspace/win32-security/lib/win32/security/sid.rb:111:in `strip'' c:/Users/djberge/workspace/win32-security/lib/win32/security/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,...