Question on short/mangled file name.

Jeremy Allison jra at samba.org
Wed Oct 1 21:29:11 MDT 2014


On Wed, Oct 01, 2014 at 06:35:21PM -0700, Hemanth Thummala wrote:

> the short file names for the same test folder created on two different
> servers. One is Samba server and another one is windows. I have identified
> that samba has generating different short name compared to windows.
> 
> Regarding client behavior, one of our customer reported an issue saying
> software installation in his client workstation is failing with error
> "Error 1325: 'Favorites' is not a valid short name". He is getting this
> error when he sets the registry settings for Favorites as our server home
> directory path (ex: \\server\share\testusername\favorites). This error is
> not seen when he sets the path as  \\server\share\<samba generated short
> name for "test user">\<samba generated short name for "favorites">. Based
> on this I assume that client would have expected short name in window
> style. When its specified explicitly, its started working fine. If we have
> generated short name in windows style, client would have not thrown this
> error. I agree that I assumed few things here. But would like to understand
> why our short file names are not in windows style.

And that's right - 'Favorites' is *not* a valid short name.

Favorites is 9 characters. Short names are 8.3 (if you
remember :-).


More information about the samba-technical mailing list