summaryrefslogtreecommitdiffstats
path: root/src/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/leash/KrbConfigOptions.cpp12
-rw-r--r--src/windows/leash/KrbRealmHostMaintenance.cpp4
2 files changed, 0 insertions, 16 deletions
diff --git a/src/windows/leash/KrbConfigOptions.cpp b/src/windows/leash/KrbConfigOptions.cpp
index 3e69bb0a1..c8fa66cb6 100644
--- a/src/windows/leash/KrbConfigOptions.cpp
+++ b/src/windows/leash/KrbConfigOptions.cpp
@@ -309,11 +309,7 @@ BOOL CKrbConfigOptions::OnInitDialog()
retval = pprofile_get_string(CLeashApp::m_krbv5_profile, "libdefaults",
"dns_fallback", 0, 0, &value);
if (value == 0) {
-#if KRB5_DNS_LOOKUP_KDC
dns_in_use = 1;
-#else
- dns_in_use = 0;
-#endif
} else {
dns_in_use = config_boolean_to_int(value);
pprofile_release_string(value);
@@ -462,11 +458,7 @@ void CKrbConfigOptions::OnSelchangeEditDefaultRealm()
retval = pprofile_get_string(CLeashApp::m_krbv5_profile, "libdefaults",
"dns_fallback", 0, 0, &value);
if (value == 0) {
-#if KRB5_DNS_LOOKUP_KDC
dns_in_use = 1;
-#else
- dns_in_use = 0;
-#endif
} else {
dns_in_use = config_boolean_to_int(value);
pprofile_release_string(value);
@@ -541,11 +533,7 @@ void CKrbConfigOptions::ResetDefaultRealmComboBox()
retval = pprofile_get_string(CLeashApp::m_krbv5_profile, "libdefaults",
"dns_fallback", 0, 0, &value);
if (value == 0) {
-#if KRB5_DNS_LOOKUP_KDC
dns = 1;
-#else
- dns = 0;
-#endif
} else {
dns = config_boolean_to_int(value);
pprofile_release_string(value);
diff --git a/src/windows/leash/KrbRealmHostMaintenance.cpp b/src/windows/leash/KrbRealmHostMaintenance.cpp
index 7b76c011e..a39af3450 100644
--- a/src/windows/leash/KrbRealmHostMaintenance.cpp
+++ b/src/windows/leash/KrbRealmHostMaintenance.cpp
@@ -130,11 +130,7 @@ BOOL CKrbRealmHostMaintenance::OnInitDialog()
retval = pprofile_get_string(CLeashApp::m_krbv5_profile, "libdefaults",
"dns_fallback", 0, 0, &value);
if (value == 0) {
-#if KRB5_DNS_LOOKUP_KDC
m_initDnsKdcLookup = m_newDnsKdcLookup = 1;
-#else
- m_initDnsKdcLookup = m_newDnsKdcLookup = 0;
-#endif
} else {
m_initDnsKdcLookup = m_newDnsKdcLookup = config_boolean_to_int(value);
pprofile_release_string(value);