summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-04-18 08:12:58 -0400
committerBen Kaduk <kaduk@mit.edu>2012-08-24 12:22:23 -0400
commitdbfd93ea15b12472e4612af928f8baabb2cda611 (patch)
tree0621a9a5c9f491cdfee867c44911e6264f7a7f91 /src
parent813ae03da33fc77e1fe0706a5fbbfd4070b79b7a (diff)
downloadkrb5-dbfd93ea15b12472e4612af928f8baabb2cda611.tar.gz
krb5-dbfd93ea15b12472e4612af928f8baabb2cda611.tar.xz
krb5-dbfd93ea15b12472e4612af928f8baabb2cda611.zip
kfw get tickets dialog tweaks
"Options" button -> "Advanced Settings" "Renew Till" -> "Renew Until" "Kerberos 5 Options" -> "Flag this ticket as" Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7252 (new) queue: kfw target_version: 1.10.4 tags: pullup
Diffstat (limited to 'src')
-rw-r--r--src/windows/leashdll/lsh_pwd.c3
-rw-r--r--src/windows/leashdll/lsh_pwd.rc31
2 files changed, 16 insertions, 18 deletions
diff --git a/src/windows/leashdll/lsh_pwd.c b/src/windows/leashdll/lsh_pwd.c
index 49911f1df9..c7d8310a7f 100644
--- a/src/windows/leashdll/lsh_pwd.c
+++ b/src/windows/leashdll/lsh_pwd.c
@@ -1453,7 +1453,8 @@ AdjustOptions(HWND hDialog, int show, int hideDiff)
dlgRect.bottom-dlgRect.top+(show ? 1 : - 1) * hideDiff,
SWP_NOZORDER|SWP_NOMOVE);
- CSetDlgItemText(hDialog, IDC_BUTTON_OPTIONS, show ? "Hide Options" : "Show Options");
+ CSetDlgItemText(hDialog, IDC_BUTTON_OPTIONS, show ?
+ "Hide Advanced Settings" : "Show Advanced Settings");
}
diff --git a/src/windows/leashdll/lsh_pwd.rc b/src/windows/leashdll/lsh_pwd.rc
index b2f7deb4c9..ad15f10cbd 100644
--- a/src/windows/leashdll/lsh_pwd.rc
+++ b/src/windows/leashdll/lsh_pwd.rc
@@ -104,33 +104,30 @@ BEGIN
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,302,235,49,14
PUSHBUTTON "Cancel",IDCANCEL,249,235,49,14
- PUSHBUTTON "Hide Options",IDC_BUTTON_OPTIONS,186,235,49,14
+ PUSHBUTTON "Hide Advanced Settings",IDC_BUTTON_OPTIONS,146,235,89,14
CONTROL "Ticket Lifetime",IDC_SLIDER_LIFETIME,"msctls_trackbar32",
TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,90,113,258,15
- CONTROL "Get tickets that can be forwarded to other machines",
+ CONTROL "Forwardable (can be forwarded to other machines)",
IDC_CHECK_FORWARDABLE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,89,150,203,10
- CONTROL "Get tickets without IP addresses (NAT mode)",
- IDC_CHECK_NOADDRESS,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,89,163,228,10
- CONTROL "Get tickets that can be renewed for:",
+ CONTROL "Renewable (can be renewed during the renwable lifetime)",
IDC_CHECK_RENEWABLE,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,89,176,186,10
+ WS_TABSTOP,89,163,186,10
CONTROL "Slider2",IDC_SLIDER_RENEWLIFE,"msctls_trackbar32",
- TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,100,207,246,15
- RTEXT "Name:",IDC_STATIC_NAME,63,44,21,8
- RTEXT "Realm:",IDC_STATIC_REALM,62,60,23,8
+ TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,90,194,258,15
+ RTEXT "Name:",IDC_STATIC_NAME,66,44,21,8
+ RTEXT "Realm:",IDC_STATIC_REALM,64,60,23,8
RTEXT "Password:",IDC_STATIC_PWD,13,76,74,8
- RTEXT "Ticket Lifetime:",IDC_STATIC_LIFETIME,19,103,65,8,0,
+ RTEXT "Ticket Lifetime:",IDC_STATIC_LIFETIME,23,103,65,8,0,
WS_EX_RIGHT
- LTEXT "Kerberos 5 Options:",IDC_STATIC_KRB5,22,139,101,8
- LTEXT "HMS",IDC_STATIC_LIFETIME_VALUE,89,103,131,8
- LTEXT "HMS",IDC_STATIC_RENEW_TILL_VALUE,102,193,141,8
- LTEXT "",IDC_STATIC_VERSION,7,244,143,8
+ LTEXT "Flag this ticket as:",IDC_STATIC_KRB5,36,139,101,8
+ LTEXT "HMS",IDC_STATIC_LIFETIME_VALUE,90,103,131,8
+ LTEXT "HMS",IDC_STATIC_RENEW_TILL_VALUE,90,180,141,8
+ LTEXT "",IDC_STATIC_VERSION,7,244,130,8
ICON LEASHICON,IDC_PICTURE_LEASH,21,15,20,20
- LTEXT "You are required to type your Kerberos Password",
+ LTEXT "Please Authenticate",
IDC_STATIC_NOTICE,51,23,276,8
- RTEXT "Renew Till:",IDC_STATIC_RENEW,37,193,59,8
+ RTEXT "Renewable Lifetime:",IDC_STATIC_RENEW,10,180,79,8
LTEXT "",IDC_STATIC_COPYRIGHT,7,256,323,8
END