Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba <--> Windows Strange 8.3 conversion

Reply
Thread Tools Display Modes

Samba <--> Windows Strange 8.3 conversion

 
 
JeroenZzZ
Guest
Posts: n/a

 
      05-26-2004, 03:03 PM
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]

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?
Filenames which are shorter than 8 chars work perfectly...
Is this a known bug?

Thanks in advance!

Jeroen Zwarts


 
Reply With Quote
 
 
 
 
Ralf Herrmann
Guest
Posts: n/a

 
      05-26-2004, 03:39 PM
Hi,

i'm sorry, i can't help about your problem.
But i would advice to try another newsgroup, which
is dedicated to samba:

comp.protocols.smb

HTH

Ralf
 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      05-26-2004, 11:18 PM
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP - can't log on to Samba dimitri Linux Networking 0 12-04-2006 07:44 AM
Really strange samba puzzle Ron House Linux Networking 1 05-25-2006 09:39 AM
Strange way to get LAN to see Samba shares. olczyk Linux Networking 0 12-29-2005 06:59 AM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
Really strange problem with XP & SAMBA Enrique Ariz?n Benito Linux Networking 1 06-01-2004 11:31 PM



1 2 3 4 5 6 7 8 9 10 11