summaryrefslogtreecommitdiffstats
path: root/src/windows
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2004-07-07 11:59:13 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2004-07-07 11:59:13 +0000
commit42f19bf45bce9469b0c14944ad4c7a2ed26bdd39 (patch)
treefbfd421829700e00d0c0198c74ed190fd2d0c299 /src/windows
parent4d7c3d1c1cd88396ff19e9f808d9a2394d54575d (diff)
downloadkrb5-42f19bf45bce9469b0c14944ad4c7a2ed26bdd39.tar.gz
krb5-42f19bf45bce9469b0c14944ad4c7a2ed26bdd39.tar.xz
krb5-42f19bf45bce9469b0c14944ad4c7a2ed26bdd39.zip
* kfw-fixed.nsi: Microsoft did not place the AllowTGTSessionKey in
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
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/installer/nsis/ChangeLog7
-rw-r--r--src/windows/installer/nsis/kfw-fixed.nsi5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/windows/installer/nsis/ChangeLog b/src/windows/installer/nsis/ChangeLog
index 8041458f1..3f2cacc2e 100644
--- a/src/windows/installer/nsis/ChangeLog
+++ b/src/windows/installer/nsis/ChangeLog
@@ -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:
diff --git a/src/windows/installer/nsis/kfw-fixed.nsi b/src/windows/installer/nsis/kfw-fixed.nsi
index 84ecff664..f956b8f6c 100644
--- a/src/windows/installer/nsis/kfw-fixed.nsi
+++ b/src/windows/installer/nsis/kfw-fixed.nsi
@@ -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"