[Pkg-samba-maint] Bug#593059: The locale setting affects Samba daemons.
TAKAHASHI Motonobu
monyo at monyo.com
Sun Aug 15 09:56:29 UTC 2010
Hello
2010/8/15 Steve Langasek <vorlon at debian.org>:
> tags 593059 moreinfo unreproducible
> thanks
> Samba already includes code specifically to set the locale to C before
> invoking PAM in order to avoid this issue. So where are these localized
> messages coming from?
In my environment, "pam password change = yes" did not work well at first and
in my log.smbd, there were these messages below:
-----
[2010/03/01 11:59:46, 3] auth/pampass.c:smb_pam_passchange_conv(369)
smb_pam_passchange_conv: Could not find reply for PAM prompt: SOME
JAPANESE MESSAGE:
[2010/03/01 11:59:46, 0] auth/pampass.c:smb_pam_chauthtok(702)
PAM: UNKNOWN PAM ERROR (19) for User: monyo
[2010/03/01 11:59:46, 2] auth/pampass.c:smb_pam_error_handler(76)
smb_pam_error_handler: PAM: Password Change Failed : SOME JAPANESE MESSAGE
[2010/03/01 11:59:46, 0] auth/pampass.c:smb_pam_passchange(858)
smb_pam_passchange: PAM: Password Change Failed for user monyo!
-----
Two "SOME JAPANESE MESSAGE" are actually displayed in Japanese.
After I changed the terminal's locale to C and restarted samba,
"pam password change = yes" worked.
Hmmm, I will examine more.
---
TAKAHASHI Motonobu <monyo at monyo.com>
More information about the Pkg-samba-maint
mailing list