Rename "Leash" to "MIT Kerberos"

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
KfW make 64-bit MSI include 32-bit dlls

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 7f73cad3f08eadaa38299d004ac721cea74a0658)

ticket: 7293
status: resolved
KfW rename lacFoo -> Leash_pec_

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit e2b8cf10d536eeb1616f5b5e40fd41c691f24e29)

ticket: 7294
status: resolved
Update kfw change password dialog

Use combined username/realm principal edit control.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 16eb02cfaad02444e553c9a7af37917f02c60ba2)

ticket: 7297
status: resolved
Add 'Remember this principal' checkbox

Added to the 'Get Tickets' dialog.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 4c6bbfe0aa0faa166b1a1096a79dfc1d43e77023)

ticket: 7298
status: resolved
Reduce 'get tickets' dialog height

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit bdcc614a53e1567e5e1f23db9c578b482641cf99)

ticket: 7299
status: resolved
Help updates for kfw 4.0

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

[kaduk@mit.edu: Squash commits, a couple of grammar fixes, and also turn
 a few instances of "Leash" into "MIT Kerberos".  Trim trailing whitespace
 and other whitespace tweaks to pass the commit hooks.]

(cherry picked from commit 095ae2aa5072282f4b1842e78baeb4c82bd31098)

ticket: 7300
queue: kfw
status: resolved
Minor 'Get Tickets' dialog fixes

-Move 'Remember this principal' and keep visible even when 'advanced'
options are hidden.
-Increase size of 'Forwardable and Proxiable' checkbox.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit eb952e349c4e37b81b3f1f30faba6fb707f67dca)

ticket: 7301
status: resolved
Use cc_user_set_default_name to 'make default'

In addition to calling krb5_cc_switch(), use
krb5int_cc_user_set_default_name() in CLeashView::OnMakeDefault()
to set the default ccache for all processes for the current user.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 84b0d77e7d9d8f4a733bc0d71afb7815584d1c12)

ticket: 7303
status: resolved
'Destroy tickets on exit' destroys all tickets

Previously destroyed only default ccache and used obsolete functions.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit cc96011e055131c81f224e126260f25c5318d97b)

ticket: 7304
status: resolved
Remove unused leashdll functions

-not_an_API_LeashKRB5GetTickets
-not_an_API_LeashKRB5FreeTickets
and supporting routines.  Also remove the unused support routine one_addr.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

[kaduk@mit.edu: adjust commit message]

(cherry picked from commit 4b7fb670f3bad1c4f2251f5d1b7c7047ea6dd744)

ticket: 7305
status: resolved
Call CWinAppEx::InitInstance()

Without this, AfxGlobalsAddRef() is never called, so AfxGlobalsRelease()
does nothing, causing many leaks and a crash on exit in GdiplusShutdown()
on Vista.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 78b3e95e27ee1f53fc9e7cb2efda617ccd761bd7)

ticket: 7306
status: resolved
Update kfw installer OS version checks

Require XP SP3 or Vista SP2 or Windows 7 or Server 2003 or Server 2008

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 00f5923dd95dac8d98d4058887d144602bbd1f9f)

ticket: 7307
status: resolved
Disable import/export buttons and checkbox

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit a356bbf948c9b3773196c337972f26bc091d78a2)

ticket: 7308
status: resolved
Help -- remove principal drop-down refs

Also a couple of minor fixups.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 00094ef726a07f8848627d1d1024008c5bc1d039)

ticket: 7309
status: resolved
Fix menu text change breakage

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 388c05bb286e6db54ef7d9aaf15febea58f25107)

ticket: 7310
status: resolved
Fix ribbon label hotkeys

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 29fd9ddb83f010bae29b7caa9b7cf66271ab93e0)

ticket: 7311
status: resolved
KfW release branch updates for kfw-4.0-beta1

In src/windows/kerberos.ver:
define KRB5_RELTAIL "beta1"
define KRB5_RELTAG "KFW 4.0 beta1"
In src/windows/installer/wix/site-local.wxi:
define Beta="1"

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

[tlyu@mit.edu: squashed with a fixup commit]
Fix installer UI field sizes

Increase title control height to make all text visible.
Adjust position of description controls accordingly.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit b0d017d514d6dd31128178e26e90c84c0dbe11d8)

ticket: 7314
status: resolved
Add MIT krb5.ini to wix install directory

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit e64881df8e19d05edbc7bd945e2c636c0e0e719d)

ticket: 7315
status: resolved