projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f4d30b
)
kfw leash: bracket krb.con code with #ifndef NO_KRB4
author
Tom Yu
<tlyu@mit.edu>
Mon, 12 Dec 2011 20:46:30 +0000
(20:46 +0000)
committer
Tom Yu
<tlyu@mit.edu>
Mon, 12 Dec 2011 20:46:30 +0000
(20:46 +0000)
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
src/windows/leash/KrbRealmHostMaintenance.cpp
patch
|
blob
|
history
diff --git
a/src/windows/leash/KrbRealmHostMaintenance.cpp
b/src/windows/leash/KrbRealmHostMaintenance.cpp
index 7dac506f13fa256ecf83f540616de98c1351686b..7b76c011ec022ccd01a67cf5eed995bde7792f3a 100644
(file)
--- 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;
}