* kfw-fixed.nsi: Microsoft did not place the AllowTGTSessionKey in
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 7 Jul 2004 11:59:13 +0000 (11:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 7 Jul 2004 11:59:13 +0000 (11:59 +0000)
  the same location within the registry on the XP client platform as
  they did on the 2000 SP4 and 2003 Servers.  Modify the installer to
  set both locations.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16553 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/installer/nsis/ChangeLog
src/windows/installer/nsis/kfw-fixed.nsi

index 8041458f1eebc22f5944b391ed857e15b11d69a3..3f2cacc2ebc65a72b5d03f5d6986841343474c4a 100644 (file)
@@ -1,3 +1,10 @@
+2004-07-07  Jeffrey Altman <jaltman@mit.edu>
+
+* kfw-fixed.nsi:
+  Microsoft did not place the AllowTGTSessionKey in the same place
+  for both XP SP2 and the server platforms.  Even though they said
+  they would.  Modify the installer to set both locations.
+
 2004-05-17  Jeffrey Altman <jaltman@mit.edu>
 
 * kfw.nsi, kfw-fixed.nsi, utils.nsi:
index 84ecff6648315b9901a089efb3dbc1331d9c17b8..f956b8f6c21f85af1e8499f8ccc1ae038ed621b7 100644 (file)
@@ -408,6 +408,9 @@ addAllowTgtKey:
   ReadRegDWORD $R0 HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters" "AllowTGTSessionKey" 
   WriteRegDWORD HKLM "${KFW_REGKEY_ROOT}\Client\${KFW_VERSION}" "AllowTGTSessionKeyBackup" $R0
   WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters" "AllowTGTSessionKey" "1"
+  ReadRegDWORD $R0 HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos" "AllowTGTSessionKey" 
+  WriteRegDWORD HKLM "${KFW_REGKEY_ROOT}\Client\${KFW_VERSION}" "AllowTGTSessionKeyBackupXP" $R0
+  WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos" "AllowTGTSessionKey" "1"
 skipAllowTgtKey:  
 
 SectionEnd
@@ -986,6 +989,8 @@ StartRemove:
   ; Restore previous value of AllowTGTSessionKey 
   ReadRegDWORD $R0 HKLM "${KFW_REGKEY_ROOT}\Client\${KFW_VERSION}" "AllowTGTSessionKeyBackup"
   WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters" "AllowTGTSessionKey" $R0
+  ReadRegDWORD $R0 HKLM "${KFW_REGKEY_ROOT}\Client\${KFW_VERSION}" "AllowTGTSessionKeyBackupXP"
+  WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\Lsa\Kerberos" "AllowTGTSessionKey" $R0
 
   DeleteRegKey HKLM "${KFW_REGKEY_ROOT}\Client\CurrentVersion"
   DeleteRegKey HKLM "${KFW_REGKEY_ROOT}\Client"