<p>True. Msrpc is not applicable. Thx for the correction.</p>
<p>M</p>
<div class="gmail_quote">On Nov 14, 2012 12:32 PM, "Christopher R. Hertel" <<a href="mailto:crh@ubiqx.mn.org">crh@ubiqx.mn.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The NT_TRANSACT_NOTIFY_CHANGE request is an SMB transaction, not an MS-RPC call.  It is carried within an SMB_COM_NT_TRANSACT exchange, and MS-RPC messages are transported over SMB_COM_TRANSACTIONs which are a little bit different.<br>

<br>
The SMB and MS-RPC mechanisms are quite similar, however, and that may be what Mike means here.<br>
<br>
Note that any outstanding notification request counts against the MaxMpxCount limit.<br>
<br>
Chris -)-----<br>
<br>
On 11/14/2012 10:51 AM, Michael B Allen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Oct 11, 2012 at 3:39 PM, rickbliss <<a href="mailto:rick.blss@gmail.com" target="_blank">rick.blss@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It looks as though SMB supports a notification event when a directory is<br>
changed [<a href="http://msdn.microsoft.com/en-us/library/ee380523(prot.20).aspx" target="_blank">http://msdn.microsoft.com/en-<u></u>us/library/ee380523(prot.20).<u></u>aspx</a>] ;<br>
however, i am having diffuculty implementing this with JCIFS.  i dont want<br>
to store an array and poll for changes, i would think that JCIFS could<br>
subscribe , or recognize a change event?  Please help.<br>
</blockquote>
<br>
Hi Rick,<br>
<br>
JCIFS does not implement the file change event part of the protocol.<br>
<br>
But it does have a pretty good MS-RPC framework under the hood that<br>
users have been successful in using to implement new functionality.<br>
You could add a method like<br>
SmbFile.addNotifyHandler(<u></u>FileChangeHandler) and then call-back if<br>
something changes and so on. Look at jcifs.smb.SID.getServerSid as a<br>
good self-contained starting point for making an MS-RPC call. If you<br>
do the work, please post a patch.<br>
<br>
Also look in the patches directory to make sure someone has not<br>
already submitted the work.<br>
<br>
Mike<br>
<br>
</blockquote>
<br>
-- <br>
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X<br>
Samba Team -- <a href="http://www.samba.org/" target="_blank">http://www.samba.org/</a>     -)-----   Christopher R. Hertel<br>
jCIFS Team -- <a href="http://jcifs.samba.org/" target="_blank">http://jcifs.samba.org/</a>   -)-----   ubiqx development, uninq.<br>
ubiqx Team -- <a href="http://www.ubiqx.org/" target="_blank">http://www.ubiqx.org/</a>     -)-----   <a href="mailto:crh@ubiqx.mn.org" target="_blank">crh@ubiqx.mn.org</a><br>
OnLineBook -- <a href="http://ubiqx.org/cifs/" target="_blank">http://ubiqx.org/cifs/</a>    -)-----   <a href="mailto:crh@ubiqx.org" target="_blank">crh@ubiqx.org</a><br>
</blockquote></div>