Author: janderwald
Date: Sun Nov 26 01:46:03 2006
New Revision: 24826
URL:
http://svn.reactos.org/svn/reactos?rev=24826&view=rev
Log:
-fix a critical bug in SamGetUserSid
"I wonder how this all has worked with this..." :o)
Modified:
trunk/reactos/dll/win32/samlib/samlib.c
Modified: trunk/reactos/dll/win32/samlib/samlib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/samlib.c?…
==============================================================================
--- trunk/reactos/dll/win32/samlib/samlib.c (original)
+++ trunk/reactos/dll/win32/samlib/samlib.c Sun Nov 26 01:46:03 2006
@@ -556,7 +556,7 @@
}
/* Open the user key */
- if (RegOpenKeyExW (hUserKey,
+ if (RegOpenKeyExW (hUsersKey,
UserName,
0,
KEY_READ,