[jcifs] EventLog patche question

Michael B Allen ioplex at gmail.com
Sat Sep 19 14:47:58 MDT 2009


Oh. No. I have not looked at it since the day I placed it in the
patches directory.

On Sat, Sep 19, 2009 at 12:39 PM, Raffael Maio <raffael.maio at gmail.com> wrote:
> 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?
>
> 2009/9/19 Michael B Allen <ioplex at gmail.com>
>>
>> On Sat, Sep 19, 2009 at 7:47 AM, Raffael Maio <raffael.maio at gmail.com>
>> wrote:
>> > Hi all,
>> >
>> >
>> >
>> > I seen on the patches directory that there is a new class called
>> > eventlog.
>> > I recompile the project in order to use this class and it seems to work.
>> >
>> >
>> >
>> > However, now I would like to use it in my test program in order to
>> > access
>> > the eventlog of a remote machine. Does someone have an idea about how to
>> > do
>> > it?! As there is yet no docs available I would appreciate if you  have
>> > already figure out this problem  to share it J
>> >
>> >
>> >
>> > Previously I was trying that to access the eventlog pipe like this
>> > (without
>> > success).
>> >
>> >
>> >
>> >         NtlmPasswordAuthentication auth = new
>> > NtlmPasswordAuthentication("TESTS;administrator:admin");
>> >
>> >
>> >
>> >
>> >
>> >         SmbNamedPipe pipe = new SmbNamedPipe(
>> > "smb://10.192.10.10/IPC$/EVENTLOG",
>> >
>> >               SmbNamedPipe.PIPE_TYPE_RDWR |
>> > SmbNamedPipe.PIPE_TYPE_TRANSACT
>> > , auth );
>> >
>> >         OutputStream out = pipe.getNamedPipeOutputStream();
>> >
>> >         InputStream in = pipe.getNamedPipeInputStream();
>> >
>> >
>> >
>> > What would be the new way accessing the eventlog now with the new
>> > classes?
>>
>> Get WireShark, capture the transaction and see if it decodes the
>> response. Then you can write some code to pick apart the entries.
>>
>> Mike
>>
>> --
>> Michael B Allen
>> Java Active Directory Integration
>> http://www.ioplex.com/
>
>



-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list