Re: Help Accessing SVCCTL Pipe on remote Server (Solution)
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <66E38C42347D6446BF7FCB22C3D3878064E8C52B65@ECCR06PUBLIC.exchange.local> |
Ok as I didn't find any help with Google or with any other developer, I documented what I did on my confluence. Hopefully it will help someone like me, searching for this type of information. https://dev.c-ware.de/confluence/pages/viewpage.action?pageId=15007754 Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber 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: [email protected]<mailto:[email protected]> http://www.c-ware.de<http://www.c-ware.de/> UStId-Nr. DE195700962 Von: [email protected] [mailto:[email protected]] Im Auftrag von [email protected] Gesendet: Donnerstag, 8. März 2012 18:21 An: [email protected] Betreff: Re: [jcifs] Help Accessing SVCCTL Pipe on remote Server 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 :) Chris Von: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> Im Auftrag von [email protected]<mailto:[email protected]> Gesendet: Mittwoch, 7. März 2012 17:18 An: [email protected]<mailto:[email protected]> Betreff: [jcifs] Help Accessing SVCCTL Pipe on remote Server Hi, 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, Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber 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: [email protected]<mailto:[email protected]> http://www.c-ware.de<http://www.c-ware.de/> UStId-Nr. DE195700962