Bug#195455: locales: Locale not set with Kerberos login
At Fri, 30 May 2003 10:51:11 -0700,
tkinias@asu.edu wrote:
> As can be seen below, although the system default locale is en_US.UTF-8,
> the locale in effect is C. All users authenticated via pam_unix.so have
> their locales set properly to en_US.UTF-8. All users authenticated via
> pam_krb5.so incorrectly get the C locale.
>
> libpam-krb5 is 1.0-8; libkrb53 is 1.2.7-4. The same problem occurs on a
> i686/Woody box with libc6 2.2.5-11.5, libpam-krb5 1.0-7, and libkrb53
> 1.2.4-5woody4.
>
> If the locale is set manually after login, the expected behavior
> results.
I don't use krb5, so I don't know well, but the problem is that
/etc/environment file is not read if you use krb5. This means that
it's not glibc problem. It's your setting problem, or pam, or
something other problem.
(1) Is this bug occured with the latest sid?
(2) You might modify /etc/pam.d/login and /etc/security/pam_env.conf,
are they correctly set? You also need to read each configuration
files and pam/libpam-krb5 documents carefully.
(3) libpam-krb5 does not modify /etc/pam.conf or something, and I think
this is libpam-krb5 package laziness.
libpam-krb5 maintainer, could you look this bug and comment something?
Regards,
-- gotom
Reply to: