Description of the problem:
Samba 3.0.23 shipped with RHEL5 GA, doesn't handle correctly the changes per
directory notifications. Using the call ReadDirectoryChangesW() seems to fail
against a samba share from RHEL5.
This has been fixed in 3.0.25, see post below :
The fix is confirmed by the customer.
Issue has been seen by the customer as they are running an application that
maintains an inventory of the files present in a directory; this application
also allows to open an external editor and modify the directory contents. With
the actual code they weren't able to tell if the directory had changed. (This
application use ReadDirectoryChangesW()).
This works perfectly when using a local harddrive (Windows OS) but fails when
the ressource comes from Samba. We have therefore asked them to try 3.0.25 to
confirm the changes worked for them, it did.
Let me know if you need more details, I'm attaching a test case and their
configuration file. (Test case to build on Windows).
Created attachment 158758 [details]
ReadDirectoryChangesW() test case.
Created attachment 158759 [details]
smb.conf used to reproduce this
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.