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 > - 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 ?
Each packet can be no more than 64K but an SMB_COM_NT_TRANSACTION may be multiple PDUs for what might amount to an endless stream (i.e. named pipe). The MaxParameterCount field in the request indicates how large the response can be. From the one pcap I have of W2K<-->W2K it's 4096. Mike -- A program should be written to model the concepts of the task it performs rather than the physical world or a process because this maximizes the potential for it to be applied to tasks that are conceptually similar and, more important, to tasks that have not yet been conceived.
