[Samba] Samba Password Problems (Alt-Characters)

Andrew Bartlett
Thu, 09 Sep 2004 00:06:55 -0000

On Thu, 2004-09-09 at 06:41, Stuart Highlander wrote:
> Good Afternoon All:
>
> Here is the setup:
> A RedHat 7.2 Samba 2.2.7 Server upgraded to Fedora Core 1 Samba
3.0.6-2.FC1.
> The server is acting as the PDC.  No Windows servers are providing
> authentication.
> Windows 2000 clients.
> testparm -v | grep "unix charset" results in UTF-8.
> locale charmap results in ISO-8859-1.
> using smbpasswd.
>
>
> Before upgrading the server, I was able to authenticate users to the domain
> on the Win2k boxes with alt-characters (alt-0162=?) in their passwords.
> Since upgrading the server, users who had these type of characters in their
> passwords with passwords that have not changed, are able to authenticate,
> but changing a user's password  to a new password that contains these
> characters results in not being able to authenticate.

If you are setting the password from the Linux side, then I suggest that
you fix your locale to be UTF8, as is the default in Fedora.  Having a
different 'display charset' (based on your localle) from your unix
charset is not something that I personally recommend.  Likewise, your
terminal should expect to be inputing utf8 sequences.

(I am very much a UTF8-all-the-way man, because everything else seems to
lead to insanity).

Andrew Bartlett

--
Andrew Bartlett                                 abartlet@samba.org
Authentication Developer, Samba Team            http://samba.org
Student Network Administrator, Hawker College   abartlet@hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part