[Samba] DOS filename behavior?
Jeremy Allison
jra at samba.org
Fri May 21 00:11:01 GMT 2004
On Wed, May 19, 2004 at 01:49:37PM -0700, Tom Dickson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is this standard?
>
> Q:\temp>dir
> ~ Volume in drive Q is tomsshare
> ~ Volume Serial Number is 0B97-4CF6
>
> 05/19/2004 01:23p <DIR> Thomas Dickson Directory
>
> ~ 0 File(s) 0 bytes
> ~ 3 Dir(s) 719,507,685,376 bytes free
>
> Q:\temp>dir /x
> ~ Volume in drive Q is tomsshare
> ~ Volume Serial Number is 0B97-4CF6
>
> 05/19/2004 01:23p <DIR> T8UKFI~1 Thomas Dickson
> Directory
>
> ~ 0 File(s) 0 bytes
> ~ 3 Dir(s) 719,507,685,376 bytes free
>
> The "T8UKFI~1" name seems weird to me, as windows would call it
> "THOMAS~1". Is there a way to make Samba act like windows in this
> regard? The Samba HOWTO book seems to imply that I should see "THOMA~01"
> or somesuch. Could unicode be confusing the algorithm?
By design with mangling method = hash2. To get older
(less correct) behaviour set mangling method = hash.
Jeremy.
More information about the samba
mailing list