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
Use file mapping to marshall message data

GlobalAlloc() is no longer supported for this purpose.
Also split out leash message marshalling code into a separate function
acquire_tkt_send_message_leash and improve string copy safety.

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

ticket: 7276 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Fix leashdll code to search for existing tickets

When we have a desired principal, search the entire credential cache
collection for existing tickets for that principal before using a prompter.
If no principal is specified, check only the default cache.

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

ticket: 7278 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- update expand/collapse icon rendering

Use DrawThemeBackground() to draw the icons from the explorer treeview.

ticket: 7279 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- show ticket flags

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

ticket: 7280 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Update kfw ribbon button graphics

Integrate bmp's from ui team.

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

ticket: 7281 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Merge forwardable/proxiable in Get Tickets dialog

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

ticket: 7282 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Rename and move 'Clear Principal History'

Move it closer to the Principal edit box and rename to 'Clear History'

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

ticket: 7283 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Change 'Get Ticket' to 'MIT Kerberos: Get Ticket'

Also improve string copy safety.

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

ticket: 7284 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- abbreviate durations

Map days -> d; hours -> h; minutes -> m

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

ticket: 7285 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Rename 'Get Ticket' to 'MIT Kerberos: Get Ticket'

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

ticket: 7284
queue: kfw
target_version: 1.10.4
tags: pullup
Use bold for entire row for default principal

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

ticket: 7286 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW GUI -- add 'Options' category

Move 'View' and 'Options' panels from Home to Options category.
Rename to 'View Options' and 'Ticket Options' respectively.

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

ticket: 7287 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Remove copyright/version from Get Tickets dialog

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

ticket: 7288 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW WiX installer update copyright notice

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

ticket: 7289 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
KfW update copyright date (2012) for all modules

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

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