[Samba] Charset problem only on redirected folder Desktop.
Hi, We're currently using Samba server version 3.0.28 running on a Solaris 10u4 box. We share users's home directories between Unix and Windows clients and have to specify the smb.conf parameter unix charset to iso-8859-15 (or so-8859-1) to ensure correct names for files and folders (containing accents) from Windows and Unix everything is ok : Windows Explorer looks ok, and "ls" in Solaris also. We configured GPO in AD server (a windows machine) to redirect special folders (including Desktop) for user to subdirectories in their home directory, which is their samba share, and it works fine. But, whe have problems with files names when creating files directly from the WinXP Desktop. It seems that the unix charset does not apply on this desktop redirect folder. Of course, it works if I browse the desktop folder with Windows Explorer and create files here Windows Desktop show Testé.txt ls /homes/user/Windesktop -rwxr--r-- 1 user 0 Feb 14 18:41 Testé.txt Any ideas ? Cheers. -- 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
tor, 05.05.2005 kl. 12.48 skrev [EMAIL PROTECTED]: > It seems there are windows shares, where some files have characters in > their names with iso8859-1 and others with iso8859-2 encodings. > If I mount with iocharset=iso8859-x the filenames are ok, but not at the > same time. > But when I browse that share with windows I see the good characters despite > they are not in the same codepage. > > I dont really need to see (display) the right characters in linux. > I only want that rsync, cp and others can reach these files; and if they > will be copied back to windows share > the filename should not change (this should be a backup solution :-) Depending on your OS and distro, you might like to look at star as backup utility. It's included with my Red Hat (RHAS/RHEL3) distros. It backs up a lot of funny Unix things, including ACLs (which the utilities you mentioned do not) and works using UTF8, which you should have as standard on your shares. --Tonni -- Nothing sucksseeds like a pigeon without a beak ... 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
[Samba] charset problem with smbmount
>With mount -t cifs it works! Suddently not. It seems there are windows shares, where some files have characters in their names with iso8859-1 and others with iso8859-2 encodings. If I mount with iocharset=iso8859-x the filenames are ok, but not at the same time. But when I browse that share with windows I see the good characters despite they are not in the same codepage. I dont really need to see (display) the right characters in linux. I only want that rsync, cp and others can reach these files; and if they will be copied back to windows share the filename should not change (this should be a backup solution :-) Can somebody help me? 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
>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
[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: ÃIÃÃÃAuUoOÃUÃO.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 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: íIéÉáAuUoOúUöÖüÜóO.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
[Samba] charset problem with smbmount
Hi! 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 :-)) 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: íIéÉáAuUoOúUöÖüÜóO.txt cp says no such file or directory... 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. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Charset Problem
EmailI have serverl mounted point having different iocharset But samba 3.x seems just having one global "unix charset" option Is there a way to set charset on a directory basis -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Charset Problem on the smbldap-groupadd
Helllo, I'm working on a factory placement which consists of writing a French how to for migration of an NT4 PDC to a RH AS 3 server PDC with Samba3+openLDAP backend. For the time being everything worked just smooth up to the net rpc vampire command. After several identification problems for the DSA accounts, I rebuilt the DSA entries and everything works smooth. I can use smbldap-groupadd to add for example a group called Administrators. When trying to do the same for.. Admins du domaine, vampire and the whole migration operation hangs up. I found out why by doing a strace -f -p PID -o FILE2WRITE4ERROR I found that it is the smbldap-tools which causes these errors. Is the maximum length for this name is 14 characters? And no spaces allowed ? Can it handle French accents? I can give you all the conf and the code I have. But I cannot understand where these limitations come from. Could this be changed? Has anyone managed to solve this problem? Should the Perl scripts be modified or is there another solution to this. Thank you very much Best Regards Ioan Caltun -- 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
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
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
[Samba] Charset problem
Hi all! 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? Regards, Gaston DASSIEU BLANCHET -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] charset problem
When I compile samba on Solaris 8 wich gcc, [EMAIL PROTECTED]:/usr/local/samba-3.0.0beta3/bin# ./net [2003/07/21 16:25:56, 0] lib/module.c:smb_load_module(40) Error loading module '/usr/local/samba-3.0.0beta3/lib/charset/646.so': ld.so.1: ./net: fatal: /usr/local/samba-3.0.0beta3/lib/charset/646.so: open failed: No such file or directory [2003/07/21 16:25:56, 0] lib/module.c:smb_load_module(40) Error loading module '/usr/local/samba-3.0.0beta3/lib/charset/646.so': ld.so.1: ./net: fatal: /usr/local/samba-3.0.0beta3/lib/charset/646.so: open failed: No such file or directory [2003/07/21 16:25:56, 0] lib/module.c:smb_load_module(40) That file does not exist, but why is samba looking for something that it did not install? Any clues? -- --- Derek T. Yarnell University of Maryland Computer Science Department Unix Staff [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba