locale - Kerberos credentials cache reported differently in Debian Squeeze and Debian Wheezy -
i have 2 debian servers use same ldap/kerberos server, dates in output of klist on them shown in different format - m/d/y on squeeze vs d/m/y on wheezy.
is there way change on wheezy m/d/y format well?
locale settings - squeeze
user@squeeze:~ > locale -a c en_us.utf8 posix user@squeeze:~ > locale -ck lc_time lc_time abday="sun;mon;tue;wed;thu;fri;sat" day="sunday;monday;tuesday;wednesday;thursday;friday;saturday" abmon="jan;feb;mar;apr;may;jun;jul;aug;sep;oct;nov;dec" mon="january;february;march;april;may;june;july;august;september;october;november;december" am_pm="am;pm" d_t_fmt="%a %d %b %y %r %z" d_fmt="%m/%d/%y" t_fmt="%r" t_fmt_ampm="%i:%m:%s %p" era= era_year="" era_d_fmt="" alt_digits= era_d_t_fmt="" era_t_fmt="" time-era-num-entries=0 time-era-entries="s" week-ndays=7 week-1stday=19971130 week-1stweek=7 first_weekday=1 first_workday=2 cal_direction=1 timezone="" date_fmt="%a %b %e %h:%m:%s %z %y" time-codeset="utf-8"
locale settings - wheezy
user@wheezy:~ > locale -a c c.utf-8 en_us.utf8 posix user@wheezy:~ > locale -ck lc_time lc_time abday="sun;mon;tue;wed;thu;fri;sat" day="sunday;monday;tuesday;wednesday;thursday;friday;saturday" abmon="jan;feb;mar;apr;may;jun;jul;aug;sep;oct;nov;dec" mon="january;february;march;april;may;june;july;august;september;october;november;december" am_pm="am;pm" d_t_fmt="%a %d %b %y %r %z" d_fmt="%m/%d/%y" t_fmt="%r" t_fmt_ampm="%i:%m:%s %p" era= era_year="" era_d_fmt="" alt_digits= era_d_t_fmt="" era_t_fmt="" time-era-num-entries=0 time-era-entries="s" week-ndays=7 week-1stday=19971130 week-1stweek=7 first_weekday=1 first_workday=2 cal_direction=1 timezone="" date_fmt="%a %b %e %h:%m:%s %z %y" time-codeset="utf-8"
as can see, until same , locale settings seems similiar.
but on squeeze:
user@squeeze:~ > klist ticket cache: file:/tmp/krb5cc_1036_stifu16216 default principal: user@domain valid starting expires service principal 06/01/14 15:27:17 06/08/14 15:27:13 krbtgt/domain
while on wheezy get:
user@wheezy:~ > klist ticket cache: file:/tmp/krb5cc_1036_w4vfn5d3cr default principal: user@domain valid starting expires service principal 01/06/2014 15:28 08/06/2014 15:28 krbtgt/domain
Comments
Post a Comment