[PATCH] file change notification

Juergen Hasch Hasch at t-online.de
Mon Mar 3 21:03:02 GMT 2003


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 TDB to 2000, so  
  large directories won't create monster TDBs.
- the maximum reply packet size is limited to 64K. I guess this should never
  be a problem :-)
  What ist the maximum allowed size of a NT_TRANS packet anyway ?

...Juergen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cnotify.patch
Type: text/x-diff
Size: 12418 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030303/807a856d/cnotify.bin


More information about the samba-technical mailing list