psexec for samba4 and svcctl.idl

Matthew Mastracci matthew at mastracci.com
Sun Jul 2 17:59:56 GMT 2006


AH wrote:

> I am not a regular samba developer, but I wanted to have psexec 
> equivalent, so I wrote it, it works but still need some development.
> I do not know if patches of such sizes (about 30k) are welcome on this 
> list so I've put it on web page, with some description:
> http://eol.ovh.org/winexe/
> Comments welcome.

Very cool...  Have you considered trying to use 
AllocConsole/WriteConsoleInput/ReadConsoleInput instead of using 
named-pipes?  It might allow you to better control Ctrl+C handling and 
character/key translation, although it might add some extra complexity 
you might not want to deal with.



More information about the samba-technical mailing list