Re: [PATCH] file change notification

2003-03-04 Thread Michael B. Allen
On Mon, 3 Mar 2003 22:03:02 +0100 [EMAIL PROTECTED] (Juergen Hasch) wrote: > Hi, > > attached is a modified version of Hal's file change notification patch. > It's against Samba HEAD and works for me. > > Changes: > - use push_ucs2() to send unicode file names

Re: [PATCH] file change notification

2003-03-03 Thread Juergen Hasch
Hi, attached is a modified version of Hal's file change notification patch. It's against Samba HEAD and works for me. Changes: - use push_ucs2() to send unicode file names - make some functions static (make proto works now) - limit maximum number of directory entries stored in the T

Re: [PATCH] file change notification

2003-02-14 Thread Tim Potter
On Fri, Feb 14, 2003 at 10:21:04PM +0100, Juergen Hasch wrote: > actually it looks quite good :-) That's good to hear! > Attached is a capture from two W2K machines talking to each other. > Packet No. 19 shows the NT NOTIFY response packet. > > This capture was made using the Windows version of

Re: [PATCH] file change notification

2003-02-14 Thread Juergen Hasch
Hi Tim, Am Freitag, 14. Februar 2003 21:52 schrieb Tim Potter: > On Fri, Feb 14, 2003 at 08:28:55PM +0100, Juergen Hasch wrote: > > Hello Hal, > > > > thanks for coding this patch, unfortunately it doesn't work for me. > > Checking the generated network packets with ethereal shows that the > > NT

Re: [PATCH] file change notification

2003-02-14 Thread Juergen Hasch
Hello Hal, thanks for coding this patch, unfortunately it doesn't work for me. Checking the generated network packets with ethereal shows that the NT_NOTIFY packet I receive on the Windwows side is invalid. The packet (frame size as shown in ethereal) is much too short, it's size is 93 bytes, i

[PATCH] file change notification

2003-02-06 Thread Hal Roberts
Attached is a patch that adds support for reporting individual files during file change notification. The patch keeps a table of the stats of all files in a watched directory and then compares the current stats of the files with the stored stats whenever there is a notification event. Note

Re: file change notification issues

2003-02-01 Thread Juergen Hasch
t looks quite good. No more endless file stat polling, so I'm all for adding this functionality to Samba :-) The most difficult part is getting a file name from Linux without reimplementing the change notification interface. I don't like fam or dazuko or the other stuff that is availa

Re: file change notification issues

2003-01-28 Thread jra
On Thu, Jan 23, 2003 at 10:55:12AM -0500, Hal Roberts wrote: > The purpose of this mail is to make sure no one else is > working on / has already finished hacking samba's file > change notification support to support notification of > individual file changes. If not, I

file change notification issues

2003-01-23 Thread Hal Roberts
The purpose of this mail is to make sure no one else is working on / has already finished hacking samba's file change notification support to support notification of individual file changes. If not, I plan on doing so forthwith. More details: I've been wrestling with samba fo

Re: Change Notification

2003-01-14 Thread jra
>occurs so I can see how to make smbd work around it until we get the > >kernel fixed. > > > > > > > No it's Samba receiving a signal from the kernel, but not processing it > further inside Samba. > > In notify_kernel/signal_handler() signals_received g

Re: Change Notification

2003-01-13 Thread Juergen Hasch
g a signal from the kernel, but not processing it further inside Samba. In notify_kernel/signal_handler() signals_received gets increased when a change notification is received from the kernel. Now the change notification for this type of event (e.g. copy/ rename/delete...) needs to be proces

Re: Change Notification

2003-01-13 Thread jra
he > >main loop. > > > >Please give me more details asap. > > > For testing I have a simple windows program to activates change > notification for a given directory on > the Samba side. I can then see what is happening when I copy, remove or > delete files (this

Re: Change Notification

2003-01-13 Thread Juergen Hasch
Below is my test program, nothing special: /* test change notification */ #include #include int main() { DWORD dwWaitStatus; HANDLE dwChangeHandles[1]; dwChangeHandles[0] = FindFirstChangeNotification( "i:\\TEST", // directory to watc

Re: Change Notification

2003-01-13 Thread Juergen Hasch
change notification for a given directory on the Samba side. I can then see what is happening when I copy, remove or delete files (this is what I tested). The Samba server is Suse 8.1 with the latest 2.4 kernel and Samba 2_2 CVS, my client is a W2K WS. When I check the signal_handler() function

Re: Change Notification

2003-01-13 Thread jra
On Mon, Jan 13, 2003 at 11:06:46PM +0100, Juergen Hasch wrote: > Jeremy, > > I'm having problems with change notification in Samba 2.2.x under Linux > since you changed the signal > handling stuff some time ago. > An application I'm using always complains about mi

Change Notification

2003-01-13 Thread Juergen Hasch
Jeremy, I'm having problems with change notification in Samba 2.2.x under Linux since you changed the signal handling stuff some time ago. An application I'm using always complains about missing change notification, although it used to work. I always failed to find out what's w