The Samba-Bugzilla – Bug 3624
Empty directory generates Extended Error 161 under Centos 4.2 when used with Win98 SE
Last modified: 2006-03-22 19:08:50 UTC
When a "dir" is done on an empty directory in samba share from a Win98SE at dos prompt (either using the prompt level) or any other software that uses it returns this extended error on the directory. This causes "sync" software to bounce.
THis problme was not there in Redhat 8 and Redhat 9.
This is a very old version of Samba. I suggest you upgrade as I recall fixing this. If the bug still exists with 3.0.21c then please reopen.