summaryrefslogtreecommitdiffstats
path: root/src/windows/leash/KrbRealmHostMaintenance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/leash/KrbRealmHostMaintenance.cpp')
-rw-r--r--src/windows/leash/KrbRealmHostMaintenance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows/leash/KrbRealmHostMaintenance.cpp b/src/windows/leash/KrbRealmHostMaintenance.cpp
index 7dac506f1..7b76c011e 100644
--- a/src/windows/leash/KrbRealmHostMaintenance.cpp
+++ b/src/windows/leash/KrbRealmHostMaintenance.cpp
@@ -231,7 +231,7 @@ BOOL CKrbRealmHostMaintenance::OnApply()
"Leash", MB_OK);
}
-
+#ifndef NO_KRB4
// Save to Kerberos Four config. file "Krb.con"
CStdioFile krbCon;
if (!krbCon.Open(CKrbProperties::m_krbPath, CFile::modeCreate |
@@ -325,6 +325,7 @@ BOOL CKrbRealmHostMaintenance::OnApply()
krbCon.WriteString(".KERBEROS.OPTION. dns\n");
krbCon. Close();
+#endif // NO_KRB4
return TRUE;
}