[Samba] DOS dir command on Samba share

Björn Jacke
2010-02-04T12:04:33Z

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