Author: ekohl
Date: Sun May 13 17:32:09 2012
New Revision: 56574
URL:
http://svn.reactos.org/svn/reactos?rev=56574&view=rev
Log:
[SYSSETUP]
Re-add the call to SamSetDomainSid because the logon code in advapi32 still relies on it.
Modified:
trunk/reactos/dll/win32/syssetup/security.c
Modified: trunk/reactos/dll/win32/syssetup/security.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/securit…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/security.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/security.c [iso-8859-1] Sun May 13 17:32:09 2012
@@ -25,6 +25,9 @@
LSA_OBJECT_ATTRIBUTES ObjectAttributes;
LSA_HANDLE PolicyHandle;
NTSTATUS Status;
+
+ if (DomainSid != NULL)
+ SamSetDomainSid (DomainSid);
memset(&ObjectAttributes, 0, sizeof(LSA_OBJECT_ATTRIBUTES));
ObjectAttributes.Length = sizeof(LSA_OBJECT_ATTRIBUTES);