[jcifs] Help Accessing SVCCTL Pipe on remote Server

christofer.dutz at c-ware.de christofer.dutz at c-ware.de
Thu Mar 8 10:21:03 MST 2012

Never mind ... (not assuming anyone did mind)

Afer another day of debugging, I started a simple program using JLan and compared the Wireshark dumps with those of JCIFS. For everything JLan did I searched, until I found a JCIFS counterpart. After successfully setting up the initial communication I was able to compare the data sent by my generated svcctl classes Requests and could see that the ptype field was never initialized (allways -1 (0xff)). By manually setting that to "0" (Request) in the Constructor of the Request classes I actually managed to execute the operations I was intending to use without a protocol error.

Yeeeeehaaa! Let's go :)


Von: jcifs-bounces at lists.samba.org [mailto:jcifs-bounces at lists.samba.org] Im Auftrag von christofer.dutz at c-ware.de
Gesendet: Mittwoch, 7. März 2012 17:18
An: jcifs at lists.samba.org
Betreff: [jcifs] Help Accessing SVCCTL Pipe on remote Server


I am currently working on a tool for which I need to access a remote Windows machines services. I tried to access the SVCCTL pipe and communicate with it ... but unfortunately without success. I found A tool with which I could do what I want out of the box (Alfresco JLan), but I would rather stick with JCIFS as I did encounter some issues in Named-Pipe communication and I don't want to mix up the frameworks in one project. JCIFS for file transfer and named pipe communication and JLan for accessing the services.

If anyone here on this list would be willing to provide me with an JCIFS based example that connects to a remote Windows and displays the details of running Services, I am willing to pay for the effort. So if you are interested, please contact me off list. I think it should probably be an easy task for a JCIFS pro.

Help greatly appreciated,

[ C h r i s t o f e r  D u t z ]

C-Ware IT-Service
Dipl. Inf. Christofer Dutz
Karlstraße. 104, 64285 Darmstadt

fon:  0 61 51 / 27315 - 61
fax:  0 61 51 / 27315 - 64
mobil:  0171 / 7 444 2 33
email:  christofer.dutz at c-ware.de<mailto:christofer.dutz at c-ware.de>

UStId-Nr. DE195700962

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20120308/975cee35/attachment.html>

More information about the jCIFS mailing list