krb5 commit [krb5-1.12]: Add some KDC entries to the registry via WiX

Tom Yu tlyu at mit.edu
Fri Sep 12 17:28:31 EDT 2014


https://github.com/krb5/krb5/commit/c6775894ad477de0c16564c62a88bd435ed0b77b
commit c6775894ad477de0c16564c62a88bd435ed0b77b
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.
    
    (cherry picked from commit d2b76e1ba0f4bb0ec7e560a9a681d938f45f950c)
    
    ticket: 7999

 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