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"><<a href="mailto:ioplex@gmail.com">ioplex@gmail.com</a>></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 <<a href="mailto:raffael.maio@gmail.com">raffael.maio@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
><br>
><br>
> I seen on the patches directory that there is a new class called eventlog.<br>
> I recompile the project in order to use this class and it seems to work.<br>
><br>
><br>
><br>
> However, now I would like to use it in my test program in order to access<br>
> the eventlog of a remote machine. Does someone have an idea about how to do<br>
> it?! As there is yet no docs available I would appreciate if you have<br>
> already figure out this problem to share it J<br>
><br>
><br>
><br>
> Previously I was trying that to access the eventlog pipe like this (without<br>
> success).<br>
><br>
><br>
><br>
> NtlmPasswordAuthentication auth = new<br>
> NtlmPasswordAuthentication("TESTS;administrator:admin");<br>
><br>
><br>
><br>
><br>
><br>
> SmbNamedPipe pipe = new SmbNamedPipe(<br>
> "smb://<a href="http://10.192.10.10/IPC$/EVENTLOG" target="_blank">10.192.10.10/IPC$/EVENTLOG</a>",<br>
><br>
> SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT<br>
> , auth );<br>
><br>
> OutputStream out = pipe.getNamedPipeOutputStream();<br>
><br>
> InputStream in = pipe.getNamedPipeInputStream();<br>
><br>
><br>
><br>
> 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>