[SYSSETUP]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 13 May 2012 17:32:09 +0000 (17:32 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 13 May 2012 17:32:09 +0000 (17:32 +0000)
Re-add the call to SamSetDomainSid because the logon code in advapi32 still relies on it.

svn path=/trunk/; revision=56574

reactos/dll/win32/syssetup/security.c

index 8b8c7d2..f4b5773 100644 (file)
@@ -26,6 +26,9 @@ SetAccountDomain(LPCWSTR DomainName,
     LSA_HANDLE PolicyHandle;
     NTSTATUS Status;
 
+    if (DomainSid != NULL)
+        SamSetDomainSid (DomainSid);
+
     memset(&ObjectAttributes, 0, sizeof(LSA_OBJECT_ATTRIBUTES));
     ObjectAttributes.Length = sizeof(LSA_OBJECT_ATTRIBUTES);