Tooltip text fixes

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

ticket: 7256 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Fix tooltips for ribbon

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

ticket: 7257 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Remove ID_ABOUT, add ID_IMPORT_TICKETS

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

ticket: 7258 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Add defines for debug builds in win-pre.in

define DEBUG and _CRTDBG_MAP_ALLOC except for NODEBUG builds

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

ticket: 7259 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Add leak tracking support to Leash

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

ticket: 7260 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Update ribbon tooltip text

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

ticket: 7261 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- renew selected principals

The renew button should act on the current selection.
-auto-renew still only renews default ccache
-renew doesn't work for UAC-limited MSLSA

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

ticket: 7262 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Remove psapi.dll from installer

psapi.dll is a standard windows component; no need for kfw to redistribute.

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

ticket: 7263 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Minor fixes for leashwin.h

-explicitly include krb5.h (for krb5_timestamp)
-add extern "C" scope for c++ compatibility

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

ticket: 7267 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
C++ safety for leashdll.h

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

ticket: 7270 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW auto-complete support

Use the registry to store and retrieve principals for auto-complete.
Remember principals from successful autentications.
TODO: combine realm/username in principal; 'remember principal' checkbox;
reset button; add to support 'change password' dialog as well.

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

[kaduk@mit.edu: style cleanup, copyright/license on new file.]

ticket: 7264 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Fix NSIS uninstall to work with UAC

Use ShellExecuteEx() to elevate privilege if CreateProcess() fails.

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

ticket: 7265 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Combine username and realm in get tickets dialog

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

ticket: 7266 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- add 'More' Panel

'Import Tickets', 'Export Tickets', and 'Forget Principals' buttons.

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

ticket: 7268 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Add Forget Principals to Get Tickets dialog

And remove remnants of it from the "more" panel.

Clear the registry key that stores the principal list.
Also clear the autocomplete strings on the active control.

[kaduk@mit.edu: squashed commits and rewrote commit message.]

ticket: 7269 (new)
subject: forget principals functionality
queue: kfw
target_version: 1.10.4
tags: pullup
Fix ribbon breakage

Controls were accidentally broken when moved

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

ticket: 7271 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Fix 'renewable' checkbox text

fix 'renwable' typo and pad size.

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

ticket: 7272 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Send kfw 'obtain ticket' messages to main frame

Previous versions of kfw would attempt to send 'obtain tickets' messages
directly to the 'view' window by sending to the first child of the main
frame.  But with the ribbon UI, the ribbon toolbar is now the first child,
so that method no longer works.  Instead we now send the message to the
main frame and the main frame forwards to the active view.

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

ticket: 7273 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Add 'read-only principal' flag

Reserve the high-order 16 bits of dlgtype for flags.
Add DLGFLAG_READONLY_PRINC.  When specified, the get tickets dialog
does not allow the user to change the principal.

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

ticket: 7274 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Set kfw GUI read-only princ flag when appropriate

When receiving a request to obtain tickets (from another process), if a
particular principal is requested, set the read-only flag to prevent
the user from changing the principal.

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

ticket: 7275 (new)
queue: kfw
target_version: 1.10.4
tags: pullup