Proposing Code Domation to Samba -> Incl ability to remote start Win program from Samba client

Gerald (Jerry) Carter jerry at samba.org
Wed Mar 23 19:09:42 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Lueck wrote:
| Hi Jerry,
|
| After posting I went looking at SysInternals again just
| to see if by  chance this was one util which they provide the
| source to. No source,  but he wrote an article about the
| utility which includes details of how  it works. Alas, a file
| is sent to the Admin$ share of the remote Windows
| box, started, and a named pipe communication is used between
| client/server. Rats... I had hopes this was just simple SMB
| calls to the server service running on the Windows side.
|
| Based on the glimpse provided of how it works, any ideas
| how to do this  in Samba? I assume a Windows binary would
| need to also become part of Samba, and that shipped over
| just like PsExec does.
|
| http://www.windowsitpro.com/Articles/Print.cfm?ArticleID=42919

Or just ship the linux client shell and tell people to get
psexec.exe.  All you have to do is to copy the psexec.exe to the
admin$ share (if not there), copy whatever windows executable you
want to run as well.  Then it's just a process of calling some
svcctl pipe rpc's.  Most of this is done.  Just some grunt work to
put the pieces together.

If you are interested, I can put you on the right track.

The main point this bring up again is the need for an librpc.so
library again.




cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCQb72IR7qMdg1EfYRAnvGAJ9CH54Okiwre4uXx3rmchLajH063wCeKfH2
+tj9LHAxC+aPulPCQ1c+C4Q=
=JjdH
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list