I got problem with filenames. Some info on my configuration Samba 2.2.6 client code page=852 character set=ISO8859-2 When serving files with " character, example: user on "server" (H).lnk (standard link to home drive). Windows 2000 sees something like user~x% It is even worse when such file is located in user profile, which makes it impossible to save user profile to samba server. Coping is possible only from windows to samba (filename is preserved) but coping back fails besause windows see different filename. Regards Mirek -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3407 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.samba.org/archive/samba/attachments/20021115/5fa4d702/smime.bin
correct me if i am wrong but " is no allowed character within a filename under windows hope that helps bernd> > I got problem with filenames. Some info on my configuration > Samba 2.2.6 > client code page=852 > character set=ISO8859-2 > > > When serving files with " character, example: > > user on "server" (H).lnk > > > (standard link to home drive). Windows 2000 sees something > like > > user~x% > > It is even worse when such file is located in user profile, > which makes > it impossible to save user profile to samba server. > Coping is possible only from windows to samba (filename is preserved) > but coping back fails besause windows see different filename. > > > Regards > Mirek > > > >
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3407 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.samba.org/archive/samba/attachments/20021115/31e9dc96/smime.bin
strange... just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients 2kpro sp3, xp sp1 (all german edition) under my computer I see the natwork drive as "blabla" on server xyz(z) but as soon as i drag the share to the desktop the " charcters are automagically removed my smb.conf says character set = ISO8859-15 (but I think this has nothing to do with the problem) which client operating system are you using? bernd> >Problem is that Windows creates such file automatically. Steps tocreate such file.> >1. mount your home directory under h: >2. open "my computer" and drag h: drive to your desktop. >3. now you have file with " character, which can be copied to samba,but not from samba to windows.> >Mirek > >Bernd W?lfel wrote: correct me if i am wrong but " is no allowed character within a filename under windows hope that helps bernd I got problem with filenames. Some info on my configuration Samba 2.2.6 client code page=852 character set=ISO8859-2 When serving files with " character, example: user on "server" (H).lnk (standard link to home drive). Windows 2000 sees something like user~x% It is even worse when such file is located in user profile, which makes it impossible to save user profile to samba server. Coping is possible only from windows to samba (filename is preserved) but coping back fails besause windows see different filename. Regards Mirek
strange... just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients 2kpro sp3, xp sp1 (all german edition) under my computer I see the natwork drive as "blabla" on server xyz(z) but as soon as i drag the share to the desktop the " charcters are automagically removed my smb.conf says character set = ISO8859-15 (but I think this has nothing to do with the problem) which client operating system are you using? bernd> >Problem is that Windows creates such file automatically. Steps tocreate such file.> >1. mount your home directory under h: >2. open "my computer" and drag h: drive to your desktop. >3. now you have file with " character, which can be copied to samba,but not from samba to windows.> >Mirek > >Bernd W?lfel wrote: correct me if i am wrong but " is no allowed character within a filename under windows hope that helps bernd I got problem with filenames. Some info on my configuration Samba 2.2.6 client code page=852 character set=ISO8859-2 When serving files with " character, example: user on "server" (H).lnk (standard link to home drive). Windows 2000 sees something like user~x% It is even worse when such file is located in user profile, which makes it impossible to save user profile to samba server. Coping is possible only from windows to samba (filename is preserved) but coping back fails besause windows see different filename. Regards Mirek
On Fri, 2002-11-15 at 22:58, Mirek Hankus wrote:> > I got problem with filenames. Some info on my configuration > Samba 2.2.6 > client code page=852 > character set=ISO8859-2 > > > When serving files with " character, example: > > user on "server" (H).lnk > > > (standard link to home drive). Windows 2000 sees something > like > > user~x% > > It is even worse when such file is located in user profile, which makes > it impossible to save user profile to samba server. > Coping is possible only from windows to samba (filename is preserved) > but coping back fails besause windows see different filename.Yes, we have some problems in this area - because of our use of DOS codepages in Samba < 3.0, this kind of thing happens. I'm told that if you don't specify any codepage settings at all, then it shouldn't munge the path, but I'm not sure. I would try again with Samba 3.0 (currently in alpha), with the default settings. In that case we *should* be correctly translating unicode-on-the-wire to utf8 on the disk, and avoid some of these problems. (Existing files may still be 'broken', but new files will be created in utf8). Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://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/20021116/0ba31826/attachment.bin