Hello I have a Debian Sarge Server <http://www.linuxforums.org/forum/#> running samba with two Disks. The first disk has the OS on it with all home directories etc. in other words (/). The second disk has a partition called /work mounted on it used as a shared repository for Windows xp <http://www.linuxforums.org/forum/#> clients. The problem I have is when a file with a long filename (65 chrs) is copied from an xp machine to /work I get an xp error of "filename too long", but when I copy the same file to /home (which is on the other disk <http://www.linuxforums.org/forum/#>) it works fine. I have carried out a few tests i.e creating a directory within /home with the same file path length as the offending directory in /work to see if I can replicate the problem, and I can't. The two disks are providing different results. Has anybody experienced a similar problem? Maybe a special mount option needs to be specified within /etc/fstab. I can't seem to find any answers!!! Any help is appreciated Thanks -- Kind Regards Alex Howe
Felipe Augusto van de Wiel
2006-Oct-10 14:59 UTC
[Samba] SAMBA - Windows XP Long Filenames
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/04/2006 05:07 AM, Alex Howe escreveu:> Hello > > I have a Debian Sarge Server <http://www.linuxforums.org/forum/#> > running samba with two Disks. The first disk has the OS on it with all > home directories etc. in other words (/). > > The second disk has a partition called /work mounted on it used as a > shared repository for Windows xp <http://www.linuxforums.org/forum/#> > clients. > > The problem I have is when a file with a long filename (65 chrs) is > copied from an xp machine to /work I get an xp error of "filename too > long", but when I copy the same file to /home (which is on the other > disk <http://www.linuxforums.org/forum/#>) it works fine. > > I have carried out a few tests i.e creating a directory within /home > with the same file path length as the offending directory in /work to > see if I can replicate the problem, and I can't.The same WinXP client is able to write the long file name in any share which path is inside /home?> The two disks are providing different results. > > Has anybody experienced a similar problem? Maybe a special mount option > needs to be specified within /etc/fstab. I can't seem to find any answers!!!That's quite strange. Are you using different filesystems? Are you using different mount options?> Any help is appreciatedAlso, a not-directly-related information about long filenames: http://lists.samba.org/archive/linux-cifs-client/2006-March/001230.html> ThanksKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFK7VFCj65ZxU4gPQRAhbCAKDNu2kYNXOfH61Si9Ook+r6j2rW0gCeJCd+ tzUKZrx/E84TpUjEpoi2qYA=fsUg -----END PGP SIGNATURE-----