From 7467714bb1b30b5153c4d74845d6d0fe26b90e00 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 12 Dec 2011 20:46:30 +0000 Subject: [PATCH] kfw leash: bracket krb.con code with #ifndef NO_KRB4 Signed-off-by: Kevin Wasserman ticket: 7050 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25572 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/leash/KrbRealmHostMaintenance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.26.2