Re: [Samba] charset problem with smbmount
Old and busted: smbfs New hotness: cifs While the cifs module is also not maintained here either (I'm pretty sure), it's much better and often times solves the issue of the day. Try to use it to mount your share and see what happens. With mount -t cifs it works! Thanks Dobos Sandor IBCnet Hungary Ltd. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] charset problem with smbmount
When I use smbclient to connect to share, I see correct characters, I can get the file to local disk and ls shows the correct name too. When I try to mount with smbmount the closest result I produced was: IAuUoOUO.txt cp says no such file or directory... Note: cookie cutter response follows: The smbfs module is maintained through the kernel development people, they would best know the answer to your question, or if there is no answer. Old and busted: smbfs New hotness: cifs While the cifs module is also not maintained here either (I'm pretty sure), it's much better and often times solves the issue of the day. Try to use it to mount your share and see what happens. Any ideas? Relevant (I hope all) settings: smbmount ... -o charset=cp852,iocharset=iso8859-2 smb.conf: unix charset = iso8859-2 All locale variables set to en_US In kernel grep NLS .config says: CONFIG_UDF_NLS=y # CONFIG_SMB_NLS_DEFAULT is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT=iso8859-2 CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_737=y CONFIG_NLS_CODEPAGE_775=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_CODEPAGE_852=y CONFIG_NLS_CODEPAGE_855=y CONFIG_NLS_CODEPAGE_857=y CONFIG_NLS_CODEPAGE_860=y CONFIG_NLS_CODEPAGE_861=y CONFIG_NLS_CODEPAGE_862=y CONFIG_NLS_CODEPAGE_863=y CONFIG_NLS_CODEPAGE_864=y CONFIG_NLS_CODEPAGE_865=y CONFIG_NLS_CODEPAGE_866=y CONFIG_NLS_CODEPAGE_869=y CONFIG_NLS_CODEPAGE_936=y CONFIG_NLS_CODEPAGE_950=y CONFIG_NLS_CODEPAGE_932=y CONFIG_NLS_CODEPAGE_949=y CONFIG_NLS_CODEPAGE_874=y CONFIG_NLS_ISO8859_8=y CONFIG_NLS_CODEPAGE_1250=y CONFIG_NLS_CODEPAGE_1251=y CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_ISO8859_2=y CONFIG_NLS_ISO8859_3=y CONFIG_NLS_ISO8859_4=y CONFIG_NLS_ISO8859_5=y CONFIG_NLS_ISO8859_6=y CONFIG_NLS_ISO8859_7=y CONFIG_NLS_ISO8859_9=y CONFIG_NLS_ISO8859_13=y CONFIG_NLS_ISO8859_14=y CONFIG_NLS_ISO8859_15=y CONFIG_NLS_KOI8_R=y CONFIG_NLS_KOI8_U=y CONFIG_NLS_UTF8=y Dobos Sandor IBCnet Hungary Ltd. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] charset problem with smbmount
[EMAIL PROTECTED] wrote: I have a test file with all special characters of hungarian language on a windows share: .txt (I hope Your mailer wiill show them correctly :-)) It doesn't. When I use smbclient to connect to share, I see correct characters, I can get the file to local disk and ls shows the correct name too. When I try to mount with smbmount the closest result I produced was: IAuUoOUO.txt cp says no such file or directory... Any ideas? Simply leave your Samba 3 things for Unix/Linux as they are. Relevant (I hope all) settings: smbmount ... -o charset=cp852,iocharset=iso8859-2 Certainly don't use the above (ugh ;) Just leave things as they are. smb.conf: unix charset = iso8859-2 NO ;) ugh ugh. This should be left at UTF8, as (should be) the default. Though you don't give your basic OS - mine's Red Hat RHAS3. My default LOCALE is NO_NB. I have NO problems with what you describe using Norwegian characters (). All locale variables set to en_US Mine is no_NB, which caters for 8-bit UTF (in all shapes and forms). I.e., I have a(n emulated) Norwegian keyboard both in TTY1 and pts/0. Best, --Tonni -- mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they ? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Charset problem
Boogerman schrieb: I just migrated to Samba 3.0. I'm using Spanish Windows clients, and when I create a file with a spanish character in its filename (ie: menú), in Windows Explorer it looks ok, but when I do ls in Linux I get something slightly different (ie: menú). This didn't happen in samba 2.x (I was previously using the now missing option charset=iso-8859-1). I tried setting unix charset to UTF-8, ASCII and CP850 without success. Any suggestions? Since Samba 3 all filenames will be stored in Unicode. matze -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Charset problem
Thanks pal, I set unix charset = ISO8859-1 and now it works flawlessly Thanks a lot, Gaston DASSIEU BLANCHET - Original Message - From: Gémes Géza [EMAIL PROTECTED] To: Matthias Spork [EMAIL PROTECTED] Cc: Boogerman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 5:55 PM Subject: Re: [Samba] Charset problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Spork írta: | Boogerman schrieb: | | I just migrated to Samba 3.0. I'm using Spanish Windows clients, and | when I | create a file with a spanish character in its filename (ie: menú), in | Windows Explorer it looks ok, but when I do ls in Linux I get something | slightly different (ie: menú). This didn't happen in samba 2.x (I was | previously using the now missing option charset=iso-8859-1). | | I tried setting unix charset to UTF-8, ASCII and CP850 without | success. Any | suggestions? | | | Since Samba 3 all filenames will be stored in Unicode. | | matze My Mandrake 9.2 box has an ISO-8859-2 (Hungarian) charset, here is my testparm -s -v | grep charset output: ~dos charset = CP852 ~unix charset = ISO8859-2 ~display charset = LOCALE I've set just the first two values, the third is at is its default. That setup works fine for both Unix, Win9x and WinNT clients. So in your case I would suggest: ~dos charset = CP850 ~unix charset = ISO8859-1 ~display charset = LOCALE Cheers, Geza -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAfFPW/PxuIn+i1pIRAnRUAJ96rdwoIY4IlsT1S/IZR2Md18Tp+ACdH9uZ rRg5N5yKU8+cXFPe1qXY4U0= =p5OV -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba