<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Never mind … (not assuming anyone did mind)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Yeeeeehaaa! Let’s go </span><span style='font-family:Wingdings;color:#1F497D'>J</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Chris<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE'> jcifs-bounces@lists.samba.org [mailto:jcifs-bounces@lists.samba.org] <b>Im Auftrag von </b>christofer.dutz@c-ware.de<br><b>Gesendet:</b> Mittwoch, 7. März 2012 17:18<br><b>An:</b> jcifs@lists.samba.org<br><b>Betreff:</b> [jcifs] Help Accessing SVCCTL Pipe on remote Server<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Help greatly appreciated, <o:p></o:p></p><p class=MsoNormal>       Chris<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>[ C h r i s t o f e r  D u t z ]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>C-Ware IT-Service<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>Inhaber<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>Dipl. Inf. </span><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>Christofer Dutz<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>Karlstraße. 104, 64285 Darmstadt<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>fon:  0 61 51 / 27315 - 61<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>fax:  0 61 51 / 27315 - 64<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>mobil:  0171 / 7 444 2 33<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>email:  </span><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><a href="mailto:christofer.dutz@c-ware.de"><span lang=EN-US>christofer.dutz@c-ware.de</span></a></span><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><a href="http://www.c-ware.de/">http://www.c-ware.de</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>UStId-Nr. </span><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:DE'>DE195700962</span><span style='color:black;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>