[BOOTDATA][MSGINA][SYSSETUP] Rename the DefaultDomain registry value to DefaultDomainName
authorEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 09:30:27 +0000 (11:30 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 09:30:27 +0000 (11:30 +0200)
boot/bootdata/hivesft.inf
dll/win32/msgina/msgina.c
dll/win32/syssetup/security.c
dll/win32/syssetup/wizard.c

index b5c7926..4e4e816 100644 (file)
@@ -1373,7 +1373,7 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ConsoleShell",0x00
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",0x00000000,"1"
-HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultDomain",0x00000000,""
+HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultDomainName",0x00000000,""
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,""
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultPassword",0x00000000,""
 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify",,0x00000012
index 6cb3bc5..90e5925 100644 (file)
@@ -246,7 +246,7 @@ GetRegistrySettings(PGINA_CONTEXT pgContext)
 
     dwSize = sizeof(pgContext->Domain);
     rc = RegQueryValueExW(hKey,
-                          L"DefaultDomain",
+                          L"DefaultDomainName",
                           NULL,
                           NULL,
                           (LPBYTE)&pgContext->Domain,
index cc35f9a..221d015 100644 (file)
@@ -580,7 +580,7 @@ SetAutoAdminLogon(VOID)
     if (wcscmp(szAutoAdminLogon, L"1") == 0)
     {
         RegSetValueExW(hKey,
-                       L"DefaultDomain",
+                       L"DefaultDomainName",
                        0,
                        REG_SZ,
                        (LPBYTE)AdminInfo.Domain,
index 9c57f6b..b896adf 100644 (file)
@@ -594,14 +594,14 @@ WriteDefaultLogonData(LPWSTR Domain)
         return FALSE;
 
     lError = RegSetValueEx(hKey,
-                           L"DefaultDomain",
+                           L"DefaultDomainName",
                            0,
                            REG_SZ,
                            (LPBYTE)Domain,
                            (wcslen(Domain)+ 1) * sizeof(WCHAR));
     if (lError != ERROR_SUCCESS)
     {
-        DPRINT1("RegSetValueEx(\"DefaultDomain\") failed!\n");
+        DPRINT1("RegSetValueEx(\"DefaultDomainName\") failed!\n");
     }
 
     lError = RegSetValueEx(hKey,