summaryrefslogtreecommitdiffstats
path: root/src/windows/installer/nsis/kfw-fixed.nsi
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/installer/nsis/kfw-fixed.nsi
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/installer/nsis/kfw-fixed.nsi')
-rw-r--r--src/windows/installer/nsis/kfw-fixed.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows/installer/nsis/kfw-fixed.nsi b/src/windows/installer/nsis/kfw-fixed.nsi
index 84ecff6648..f956b8f6c2 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"