diff options
author | Tom Yu <tlyu@mit.edu> | 2011-12-12 20:46:30 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2011-12-12 20:46:30 +0000 |
commit | 7467714bb1b30b5153c4d74845d6d0fe26b90e00 (patch) | |
tree | 29bc7d20de06c55080d88bb3f663b3a79b4f751e | |
parent | 5f4d30b2f9ec3cdd47e5a8e2bf6c8586081f4ab9 (diff) | |
download | krb5-7467714bb1b30b5153c4d74845d6d0fe26b90e00.tar.gz krb5-7467714bb1b30b5153c4d74845d6d0fe26b90e00.tar.xz krb5-7467714bb1b30b5153c4d74845d6d0fe26b90e00.zip |
kfw leash: bracket krb.con code with #ifndef NO_KRB4
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7050
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25572 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/windows/leash/KrbRealmHostMaintenance.cpp | 3 |
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; } |