]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Rename "Leash" to "MIT Kerberos"
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Fri, 29 Jun 2012 17:07:48 +0000 (13:07 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 29 Aug 2012 18:54:59 +0000 (14:54 -0400)
In the executable name and many GUI elements.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit e2b8ec99dd4a898d29eab8f5ed19f03b238fef0f)

ticket: 7292
status: resolved

src/windows/installer/wix/files.wxi
src/windows/leash/Leash.cpp
src/windows/leash/Leash.rc
src/windows/leash/LeashAboutBox.cpp
src/windows/leash/LeashView.cpp
src/windows/leash/Makefile.in
src/windows/version.rc

index 0d75b988ee8d0fe5db0aeef192e11fdae8a2a350..63339baaf94076cce430ce71bd905a5c509eb7de 100644 (file)
                            <Registry Id="reg_ts_krbcc32s_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\ccapiserver" Name="Flags" Type="integer" Value="1032" />
                     </Component>
                     <Component Win64="$(var.Win64)" Id="cmf_leash_exe" Guid="$(var.cmf_leash_exe_guid)" DiskId="1">
-                      <File Id="fil_leash_exe" Name="leash.exe" KeyPath="yes">
-                        <Shortcut Id="sc_leash_exe" Advertise="yes" Directory="dirShortcut" Name="Leash Kerberos Ticket Manager.lnk" Arguments="[LEASHAUTOINIT]" />
-                        <Shortcut Id="sc_leash_desktop_exe" Advertise="yes" Directory="DesktopFolder" Name="Leash Kerberos Ticket Manager.lnk" Arguments="[LEASHAUTOINIT]" />
+                      <File Id="fil_leash_exe" Name="MIT Kerberos.exe" KeyPath="yes">
+                        <Shortcut Id="sc_leash_exe" Advertise="yes" Directory="dirShortcut" Name="MIT Kerberos Ticket Manager.lnk" Arguments="[LEASHAUTOINIT]" />
+                        <Shortcut Id="sc_leash_desktop_exe" Advertise="yes" Directory="DesktopFolder" Name="MIT Kerberos Ticket Manager.lnk" Arguments="[LEASHAUTOINIT]" />
                       </File>
                       <Registry Id="reg_ts_leash32_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\leash32" Action="createKeyAndRemoveKeyOnUninstall" />
                            <Registry Id="reg_ts_leash32_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\leash32" Name="Flags" Type="integer" Value="1032" />
index 00cbde7a7bb1fc88787fb736fbae5662002b6648..fe2e7e7dacd91415bb14c516151d7b821de3b9d2 100644 (file)
@@ -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();
index accdd7e09561e3618d75fffede1daf7c76eb8e43..9d019459029da9ef45652cd3c83a684c32d5b38f 100644 (file)
@@ -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
index d8e3fde09cea0b7dc329c9ed817acb6b1b726733..632dc590749e39a8bf73c1e58b37d8e900edcfc0 100644 (file)
@@ -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);
 
index 34b6b7d8e743b4bcefe8206bbc1aa759fd0a9d1d..043ed5fae1957c3587004020b4ae573025f1a2ff 100644 (file)
@@ -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);
 
index 99bdc763eba5347c016561e2c4afce3f286216aa..4f6e583fd24d1b06a0d0d47600afcc1266f62f99 100644 (file)
@@ -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
 
index a5c692765a8a43a66304afeed2177832f1581a00..b23eec11296fec78d6399f911457556ab02f271a 100644 (file)
 #endif /* GSSAPI */
 
 #ifdef LEASH_APP
-#define K5_DESCRIPTION "Leash32 Kerberos Ticket Manager - " KRB5_PRODUCTNAME_STR "\0"
+#define K5_DESCRIPTION "MIT Kerberos Ticket Manager - " KRB5_PRODUCTNAME_STR "\0"
 #define K5_FILETYPE    VFT_APP
 #define K5_INTERNAL_NAME "LEASH\0"
-#define K5_ORIGINAL_NAME "leash.exe\0"
+#define K5_ORIGINAL_NAME "MIT Kerberos.exe\0"
 #endif
 
 #ifdef LEASHDLL_LIB