The question was more related to the eventlog class that has been created in the patch directory. Do you have any information about how to use it?<br><br><div class="gmail_quote">2009/9/19 Michael B Allen <span dir="ltr">&lt;<a href="mailto:ioplex@gmail.com">ioplex@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Sat, Sep 19, 2009 at 7:47 AM, Raffael Maio &lt;<a href="mailto:raffael.maio@gmail.com">raffael.maio@gmail.com</a>&gt; wrote:<br>

&gt; Hi all,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I seen on the patches directory that there is a new class called eventlog.<br>
&gt; I recompile the project in order to use this class and it seems to work.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; However, now I would like to use it in my test program in order to access<br>
&gt; the eventlog of a remote machine. Does someone have an idea about how to do<br>
&gt; it?! As there is yet no docs available I would appreciate if you  have<br>
&gt; already figure out this problem  to share it J<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Previously I was trying that to access the eventlog pipe like this (without<br>
&gt; success).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         NtlmPasswordAuthentication auth = new<br>
&gt; NtlmPasswordAuthentication(&quot;TESTS;administrator:admin&quot;);<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         SmbNamedPipe pipe = new SmbNamedPipe(<br>
&gt; &quot;smb://<a href="http://10.192.10.10/IPC$/EVENTLOG" target="_blank">10.192.10.10/IPC$/EVENTLOG</a>&quot;,<br>
&gt;<br>
&gt;               SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT<br>
&gt; , auth );<br>
&gt;<br>
&gt;         OutputStream out = pipe.getNamedPipeOutputStream();<br>
&gt;<br>
&gt;         InputStream in = pipe.getNamedPipeInputStream();<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; What would be the new way accessing the eventlog now with the new classes?<br>
<br>
</div></div>Get WireShark, capture the transaction and see if it decodes the<br>
response. Then you can write some code to pick apart the entries.<br>
<br>
Mike<br>
<font color="#888888"><br>
--<br>
Michael B Allen<br>
Java Active Directory Integration<br>
<a href="http://www.ioplex.com/" target="_blank">http://www.ioplex.com/</a><br>
</font></blockquote></div><br>