summaryrefslogtreecommitdiffstats
path: root/src/windows/leash/KrbProperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/leash/KrbProperties.cpp')
-rw-r--r--src/windows/leash/KrbProperties.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/windows/leash/KrbProperties.cpp b/src/windows/leash/KrbProperties.cpp
index d26987e4af..0a64142530 100644
--- a/src/windows/leash/KrbProperties.cpp
+++ b/src/windows/leash/KrbProperties.cpp
@@ -59,19 +59,23 @@ CKrbProperties::CKrbProperties(LPCTSTR pszCaption, CWnd* pParentWnd,
}
#endif /* COMMENT */
+#ifndef NO_KRB4
CLeashApp::GetKrb4ConFile(m_krbPath,sizeof(m_krbPath));
CLeashApp::GetKrb4RealmFile(m_krbrealmPath,sizeof(m_krbrealmPath));
-
+#endif
AddPage(&m_configOptions);
AddPage(&m_miscConfigOpt);
+#ifndef NO_KRB4
if (CLeashApp::m_hKrb4DLL && !CLeashApp::m_hKrb5DLL)
{
AddPage(&m_krb4RealmHostMaintenance);
AddPage(&m_krb4DomainRealmMaintenance);
}
- else if (CLeashApp::m_hKrb5DLL)
+ else
+#endif
+ if (CLeashApp::m_hKrb5DLL)
{
AddPage(&m_realmHostMaintenance);
AddPage(&m_domainRealmMaintenance);