[Samba] Samba | Windows FindNextChangeNotification API call

Taresa Lee taresa at tipsweb.com
Mon Aug 26 10:08:00 GMT 2002

Thanks for the quick response.  I will ask the customer to upgrade to
version 2.2.5 and to verify the directory is one level deep.

Taresa Lee
Technical Support
TiPS Inc.
2402 Williams Drive
Georgetown, TX  78628
P:  512.863.3653 x512
F:  512.863.5392
taresa at tipsweb.com

-----Original Message-----
From: Gerald Carter [mailto:jerry at samba.org]
Sent: Monday, August 26, 2002 12:02 PM
To: Taresa Lee
Cc: samba at samba.org; jra at samba.org
Subject: Re: [Samba] Samba | Windows FindNextChangeNotification API call

On Fri, 23 Aug 2002, Taresa Lee wrote:

> We currently develop a Windows based product that reads ASCII files and
> saves the data into different database types.  Currently, we have a
> customer running Samba on his UNIX machine so our product can read the
> files off this system.  After running tests at his site, we have found
> that the Windows FindNextChangeNotification API is not being triggered
> on the Samba directory after a period of time passed.  Do you support
> this API call?  Have you seen this issue in the past?  Do you have any
> suggestions as to why this is occurring?  The customer currently has
> version 2.0.6 of Samba loaded.

Yes we do.  However, a Win32 api call doesn't map cleanly onto the
actual commands that go over the wire.  One difference in our
implementation is that we only implement the change notify one directory
level deep.  Windows NT servers will triger a change notify event on any
subdirectory IIRC.

Jeremy Allison write the original change notify code in Samba so I've
copied him for perhaps a better explanation.

Note that 2.0.6 is fairly old at this point (over 2 years). The latest
release (2.2.5) has changed quite a bit since then in implementing correct

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list