JeroenZzZ wrote:
> Hello,
>
> I run a Fedora Core 1 server with samba-3.0.2a-1 (installed via RPM). The
> clients from this server are Win95, Win98 and NT4.0WS, and they all suffer
> from the following problem:
>
> When I do a dir in Win9x DOS (and dir /x on the NT box) i can see the short
> 8.3 names Samba makes for the long filenames, and the seem to be incorrect.
>
> What I expect (and actually see on another Linux machine in a different
> network with Samba 2.2.5) is this:
>
> [First 5 chars of long filename] ~ [two seemingly random characters] .
> [extension]
Bad mangling.
Or possibly the wrong codepage.
Try adding "unix charset = iso-8859-15" and "unicode = yes" to smb.conf.
That's Western European with a Euro.
> What is actually see on this network:
>
> [Only the first char of the long filename] [bunch of garble, like 0fgtTe7s]
> . [extension]
>
> How is this possible?
All is possible in Samba.
Read the manual - first, because it is HUGE, and second, because it has
about a dozen options solely for this "issue".
You probably want the "mangle prefix", "mangle case", "mangled names"
and "mangled map" options.
While you're at it, also make sure
preserve case = yes
preserve short case = yes
are set, or else more breakage may ensue.
> Filenames which are shorter than 8 chars work perfectly...
> Is this a known bug?
Don't blaspheme. ;-)
Without Samba, I wouldn't be _using_ Linux - and I use 3 flavours.
--
Jeroen Geilman
Analog bits courtesy of adaptr.
|