Bug 247447 - ReadDirectoryChangesW not working on 3.0.23
ReadDirectoryChangesW not working on 3.0.23
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: samba (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Samba Maint Team
Depends On: 238757
  Show dependency treegraph
Reported: 2007-07-09 07:18 EDT by Jose Plans
Modified: 2010-10-22 12:11 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHEA-2007-0638
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 14:11:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
ReadDirectoryChangesW() test case. (2.22 KB, text/x-csrc)
2007-07-09 07:19 EDT, Jose Plans
no flags Details
smb.conf used to reproduce this (366 bytes, text/plain)
2007-07-09 07:22 EDT, Jose Plans
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2007:0638 normal SHIPPED_LIVE samba enhancement update 2007-10-30 19:04:57 EDT

  None (edit)
Description Jose Plans 2007-07-09 07:18:39 EDT
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 :
 * http://lists.samba.org/archive/samba-cvs/2007-February/074022.html
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).
Comment 1 Jose Plans 2007-07-09 07:19:44 EDT
Created attachment 158758 [details]
ReadDirectoryChangesW() test case.
Comment 2 Jose Plans 2007-07-09 07:22:31 EDT
Created attachment 158759 [details]
smb.conf used to reproduce this
Comment 4 RHEL Product and Program Management 2007-07-09 07:33:20 EDT
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
Comment 10 errata-xmlrpc 2007-11-07 14:11:17 EST
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.


Note You need to log in before you can comment on or make changes to this bug.