Bug 409364. Fixed RemoveKey to extract proper LUID. (Windows only change)
This commit is contained in:
parent
215bd98dd5
commit
794730a1ce
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 15 16:26:21 MDT 2008 - jnorman@novell.com
|
||||||
|
|
||||||
|
- Bug 409364. Fixed RemoveKey.cs to extract proper LUID
|
||||||
|
Affects windows only.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 25 10:46:21 MDT 2008 - jnorman@novell.com
|
Wed Jun 25 10:46:21 MDT 2008 - jnorman@novell.com
|
||||||
|
|
||||||
|
@ -136,8 +136,8 @@ namespace sscs.verbs
|
|||||||
|
|
||||||
// WINDOWS LUID
|
// WINDOWS LUID
|
||||||
// System Services, like DLU create fake UIDs, store credentials and then want to read that data.
|
// System Services, like DLU create fake UIDs, store credentials and then want to read that data.
|
||||||
luidLow = BitConverter.ToInt32(inBuf, 18 + ((int)keyChainIdLen) + ((int)secretIdLen) + 8);
|
luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8);
|
||||||
luidHigh = BitConverter.ToInt32(inBuf, 18 + ((int)keyChainIdLen) + ((int)secretIdLen) + 12);
|
luidHigh = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 12);
|
||||||
|
|
||||||
// this code is for ZEN. Here we switch to a keychain who's ID is the LUID of the user logging in.
|
// this code is for ZEN. Here we switch to a keychain who's ID is the LUID of the user logging in.
|
||||||
// ZEN processes run as system and pass the LUID in the extension parameter.
|
// ZEN processes run as system and pass the LUID in the extension parameter.
|
||||||
|
Loading…
Reference in New Issue
Block a user