From 42f19bf45bce9469b0c14944ad4c7a2ed26bdd39 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 7 Jul 2004 11:59:13 +0000 Subject: [PATCH] * 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 --- src/windows/installer/nsis/ChangeLog | 7 +++++++ src/windows/installer/nsis/kfw-fixed.nsi | 5 +++++ 2 files changed, 12 insertions(+) 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 + +* 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 * 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" -- 2.26.2