krb5 commit: Add some KDC entries to the registry via WiX

Benjamin Kaduk kaduk at mit.edu
Tue Sep 9 17:37:05 EDT 2014


https://github.com/krb5/krb5/commit/d2b76e1ba0f4bb0ec7e560a9a681d938f45f950c
commit d2b76e1ba0f4bb0ec7e560a9a681d938f45f950c
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Thu Aug 21 17:33:11 2014 -0400

    Add some KDC entries to the registry via WiX
    
    Though our library happily uses DNS, I can't get Windows to
    successfully contact KDCs found through the SRV records.
    So, we do need to stay in the business of shipping around
    KDC entries, after all.
    
    ticket: 7999 (new)
    queue: kfw
    tags: pullup
    target_version: 1.12.3

 src/windows/installer/wix/files.wxi |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/windows/installer/wix/files.wxi b/src/windows/installer/wix/files.wxi
index 02cb830..01879ca 100644
--- a/src/windows/installer/wix/files.wxi
+++ b/src/windows/installer/wix/files.wxi
@@ -139,6 +139,19 @@
                     <Component Win64="$(var.Win64)" Id="cmf_krb5_32_dll" Guid="$(var.cmf_krb5_32_dll_guid)" DiskId="1">
 	                    <File Id="fil_krb5_32_dll" Name="$(var.cmf_krb5_32_dll_name)" KeyPath="yes" />
 	                    <Environment Id="env_kclient_path" Action="set" Name="PATH" Part="last" System="yes" Value="[KERBEROSDIR]bin" />
+	                    <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\ATHENA.MIT.EDU">
+	                      <RegistryValue Name="KdcNames" Type="multiString">
+	                        <MultiStringValue>kerberos.mit.edu</MultiStringValue>
+	                        <MultiStringValue>kerberos-1.mit.edu</MultiStringValue>
+	                        <MultiStringValue>kerberos-2.mit.edu</MultiStringValue>
+	                      </RegistryValue>
+	                    </RegistryKey>
+	                    <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\CSAIL.MIT.EDU">
+	                      <RegistryValue Name="KdcNames" Type="multiString">
+	                        <MultiStringValue>kerberos-1.mit.edu</MultiStringValue>
+	                        <MultiStringValue>kerberos-2.mit.edu</MultiStringValue>
+	                      </RegistryValue>
+	                    </RegistryKey>
                     </Component>
                     <Component Win64="$(var.Win64)" Id="cmf_k5sprt32_dll" Guid="$(var.cmf_k5sprt32_dll_guid)" DiskId="1">
 	                    <File Id="fil_k5sprt32_dll" Name="$(var.cmf_k5sprt32_dll_name)" />


More information about the cvs-krb5 mailing list