[Samba] DOS dir command on Samba share

Björn Jacke bj at SerNet.DE
Thu Feb 4 05:04:33 MST 2010


On 2010-02-02 at 13:37 +1000 Braxton Neate sent off:
> We have recently upgraded one of the servers from Windows to Samba running on RHEL 5. For some reason now the output of the dir command comes in a different order and the total byte size is different on the samba share than the native Windows share thus breaking the check. All the file appear to by copied correctly though.

the order of a directory listing under Unix/Samba is not alphabetically sorted.
You may want to look at vfs_dirsort however.

Cheers
Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba mailing list