summaryrefslogtreecommitdiffstats
path: root/src/windows/leash
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-06-29 13:07:48 -0400
committerBen Kaduk <kaduk@mit.edu>2012-08-27 19:27:18 -0400
commite2b8ec99dd4a898d29eab8f5ed19f03b238fef0f (patch)
tree05303c900b1ea6a489d852677e6769b686ed53ed /src/windows/leash
parent3b976d4c094f0d0589468fda5f4debbb50345f20 (diff)
downloadkrb5-e2b8ec99dd4a898d29eab8f5ed19f03b238fef0f.tar.gz
krb5-e2b8ec99dd4a898d29eab8f5ed19f03b238fef0f.tar.xz
krb5-e2b8ec99dd4a898d29eab8f5ed19f03b238fef0f.zip
Rename "Leash" to "MIT Kerberos"
In the executable name and many GUI elements. Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7292 (new) queue: kfw target_version: 1.10.4 tags: pullup
Diffstat (limited to 'src/windows/leash')
-rw-r--r--src/windows/leash/Leash.cpp6
-rw-r--r--src/windows/leash/Leash.rc6
-rw-r--r--src/windows/leash/LeashAboutBox.cpp2
-rw-r--r--src/windows/leash/LeashView.cpp14
-rw-r--r--src/windows/leash/Makefile.in1
5 files changed, 15 insertions, 14 deletions
diff --git a/src/windows/leash/Leash.cpp b/src/windows/leash/Leash.cpp
index 00cbde7a7b..fe2e7e7dac 100644
--- a/src/windows/leash/Leash.cpp
+++ b/src/windows/leash/Leash.cpp
@@ -324,7 +324,7 @@ BOOL CLeashApp::InitInstance()
"'-autoinit' or '-a' to perform automatic ticket initialization\n"
"'-console' or '-c' to attach a console for debugging\n"
"'-ms2mit' or '-import' or '-m' to perform ticket importation (and exit)",
- "Leash Error", MB_OK);
+ "MIT Kerberos Error", MB_OK);
return FALSE;
}
}
@@ -336,7 +336,7 @@ BOOL CLeashApp::InitInstance()
"'-destroy' or '-d' to perform ticket destruction (and exit)\n"
"'-autoinit' or '-a' to perform automatic ticket initialization\n"
"'-ms2mit' or '-import' or '-m' to perform ticket importation (and exit)",
- "Leash Error", MB_OK);
+ "MIT Kerberos Error", MB_OK);
return FALSE;
}
}
@@ -479,7 +479,7 @@ BOOL CLeashApp::InitInstance()
VScheckVersion(m_pMainWnd->m_hWnd, AfxGetInstanceHandle());
// The one and only window has been initialized, so show and update it.
- m_pMainWnd->SetWindowText("Leash");
+ m_pMainWnd->SetWindowText("MIT Kerberos");
m_pMainWnd->UpdateWindow();
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->SetForegroundWindow();
diff --git a/src/windows/leash/Leash.rc b/src/windows/leash/Leash.rc
index accdd7e095..9d01945902 100644
--- a/src/windows/leash/Leash.rc
+++ b/src/windows/leash/Leash.rc
@@ -205,10 +205,10 @@ BEGIN
LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,0,43,347,88
END
-IDD_LEASH_ABOUTBOX DIALOG 0, 0, 310, 146
+IDD_LEASH_ABOUTBOX DIALOGEX 0, 0, 310, 146
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "About Leash"
-FONT 8, "MS Sans Serif"
+CAPTION "About MIT Kerberos"
+FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
CONTROL "Leash Modules",IDC_LEASH_MODULES,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,10,127,64,10
diff --git a/src/windows/leash/LeashAboutBox.cpp b/src/windows/leash/LeashAboutBox.cpp
index d8e3fde09c..632dc59074 100644
--- a/src/windows/leash/LeashAboutBox.cpp
+++ b/src/windows/leash/LeashAboutBox.cpp
@@ -222,7 +222,7 @@ CLeashAboutBox::SetVersionInfo(
goto cleanup;
}
TCHAR version[100];
- _sntprintf(version, sizeof(version), TEXT("Leash Version %s"), szVersion);
+ _sntprintf(version, sizeof(version), TEXT("MIT Kerberos Version %s"), szVersion);
version[sizeof(version) - 1] = 0;
GetDlgItem(id_version)->SetWindowText(version);
diff --git a/src/windows/leash/LeashView.cpp b/src/windows/leash/LeashView.cpp
index 34b6b7d8e7..043ed5fae1 100644
--- a/src/windows/leash/LeashView.cpp
+++ b/src/windows/leash/LeashView.cpp
@@ -2039,9 +2039,9 @@ LRESULT CLeashView::OnTrayIcon(WPARAM wParam, LPARAM lParam)
CMenu * menu = new CMenu();
menu->CreatePopupMenu();
if ( !CMainFrame::m_isMinimum )
- menu->AppendMenu(MF_STRING, ID_LEASH_MINIMIZE, "&Close Leash Window");
+ menu->AppendMenu(MF_STRING, ID_LEASH_MINIMIZE, "&Close MIT Kerberos Window");
else
- menu->AppendMenu(MF_STRING, ID_LEASH_RESTORE, "&Open Leash Window");
+ menu->AppendMenu(MF_STRING, ID_LEASH_RESTORE, "&Open MIT Kerberos Window");
menu->AppendMenu(MF_SEPARATOR);
menu->AppendMenu(MF_STRING, ID_INIT_TICKET, "&Get Tickets");
if (WaitForSingleObject( ticketinfo.lockObj, INFINITE ) != WAIT_OBJECT_0)
@@ -2581,20 +2581,20 @@ BOOL CLeashView::PreTranslateMessage(MSG* pMsg)
if (CMainFrame::m_isMinimum)
{
if ( CLeashApp::m_hAfsDLL )
- strTimeDate = ( "Leash - "
+ strTimeDate = ( "MIT Kerberos - "
"[" + ticketStatusKrb5 + "] - " +
"[" + ticketStatusAfs + "] - " +
"[" + ticketinfo.Krb5.principal + "]" + " - " +
tTimeDate.Format("%A, %B %d, %Y %H:%M "));
else
- strTimeDate = ( "Leash - "
+ strTimeDate = ( "MIT Kerberos - "
"[" + ticketStatusKrb5 + "] - " +
"[" + ticketinfo.Krb5.principal + "]" + " - " +
tTimeDate.Format("%A, %B %d, %Y %H:%M "));
}
else
{
- strTimeDate = ("Leash - " +
+ strTimeDate = ("MIT Kerberos - " +
tTimeDate.Format("%A, %B %d, %Y %H:%M ")
//timeDate.Format("%d %b %y %H:%M:%S - ")
);
@@ -2603,11 +2603,11 @@ BOOL CLeashView::PreTranslateMessage(MSG* pMsg)
if (CLeashApp::m_hKrb5DLL) {
if ( ticketinfo.Krb5.btickets )
- strTimeDate = ( "Leash: "
+ strTimeDate = ( "MIT Kerberos: "
"[" + ticketStatusKrb5 + "]" +
" - [" + ticketinfo.Krb5.principal + "]");
else
- strTimeDate = "Leash: Kerb-5 No Tickets";
+ strTimeDate = "MIT Kerberos: No Tickets";
}
ReleaseMutex(ticketinfo.lockObj);
diff --git a/src/windows/leash/Makefile.in b/src/windows/leash/Makefile.in
index 99bdc763eb..4f6e583fd2 100644
--- a/src/windows/leash/Makefile.in
+++ b/src/windows/leash/Makefile.in
@@ -90,6 +90,7 @@ $(OUTPRE)$(EXE_NAME).exe: $(OBJS) $(XOBJS) $(LIBS)
$(LINK) $(LFLAGS) /out:$@ /ENTRY:WinMainCRTStartup $(OBJS) $(XOBJS) \
$(LIBS) $(SYSLIBS) $(BUILDTOP)\util\wshelper\$(OUTPRE)$(WSHELPER).lib \
../lib/$(OUTPRE)libwin.lib atl.lib $(MFCLIB) $(SCLIB)
+ copy $@ "$(OUTPRE)MIT Kerberos.exe"
$(RESFILE): Leash.rc res/Leash.rc2 ver.rc ../version.rc ../kerberos.ver