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. Any ideas? Stuart
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 Url : http://lists.samba.org/archive/samba/attachments/20040909/89c29aa3/attachment.bin
Andrew, Thank you for replying to my post. I am setting the passwords from the linux side. Can you tell me how to change the locale to UTF8? I would like to make the changes you recommend. Thank you, Stuart ----- Original Message ----- From: "Andrew Bartlett" <abartlet@samba.org> To: "Stuart Highlander" <fsb@ntwsdb.com> Cc: <samba@lists.samba.org> Sent: Wednesday, September 08, 2004 7:06 PM Subject: Re: [Samba] Samba Password Problems (Alt-Characters)
Stuart Highlander
2004-Sep-10 13:49 UTC
[Samba] Samba Password Problems (Alt-Characters)-SOLVED
Good Morning All, I figured out a solution this problem. I dumped the results of testparm to a file (testparm -v > smb_dump-file-01. dos charset = CP850, unix charset = UTF-8. local display = LOCALE. I set the unix charset variable in smb.conf to unix charset = iso8859-1, restarted smb, and verified unix charset set to iso8859 using testparm -v > smb_dump-file-02. I verified that my locale was ISO-8859-1 using locale charmap. I tried syncing up UTF-8 as suggested, but could not get it to work correctly with the alt-characters. I want to thank Andrew for pointing me in the right direction. Stuart ----- Original Message ----- From: "Stuart Highlander" <fsb@ntwsdb.com> To: <samba@lists.samba.org> Sent: Wednesday, September 08, 2004 3:41 PM Subject: [Samba] Samba Password Problems (Alt-Characters) 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. Any ideas? Stuart -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba