Martin Pool
2003-Feb-25 05:31 UTC
[Samba] (fwd) FW: Starting a process from a windows client
----- Forwarded message from "Scattergood, Ivan" <Ivan.Scattergood@uk.fid-intl.com> ----- I am hoping to run a Unix process from code running on a windows client, I am told this can be done using Samba, does any one have any example code to do this? Regards Ivan Scattergood London Software Development ----- End forwarded message ----- -- Martin
Joel Hammer
2003-Feb-25 20:50 UTC
[Samba] (fwd) FW: Starting a process from a windows client
A simple way would be this: Create a share called Process. This would correspond to a directory on the server called Process. Into the directory put the names of processes you would like to run, Process1, Process2, etc. Create a subdirectory called Run beneath Process. On the samba server, have a daemon running which watches for files in Run. When a file is found, the daemon will invoke the process based on the file name, then remove the process. Sounds simple, anyway. Security and permissions will of course be a headache. Joel On Tue, Feb 25, 2003 at 04:31:31PM +1100, Martin Pool wrote:> ----- Forwarded message from "Scattergood, Ivan" <Ivan.Scattergood@uk.fid-intl.com> ----- > > I am hoping to run a Unix process from code running on a windows client, I > am told this can be done using Samba, does any one have any example code to > do this? > > Regards > Ivan Scattergood > London Software Development > > ----- End forwarded message ----- > -- > Martin > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba