[Samba] Shell script execution?

Joel Hammer Joel at HammersHome.com
Sat Apr 19 01:24:22 GMT 2003


Another way would be to have a share which has a subdirectory. Put
in the parent directory a flag file or files (program1, program2,
etc). Have a daemon running on the samba server (a bash script would
do) watching the subdirectory. Then, to run a program, move the program
flag file from the parent directory to the subdirectory. The daemon sees it,
reads the program name, runs the program and moves the program flag file
back to the parent directory. 

Joel

On Fri, Apr 18, 2003 at 12:22:49PM -0700, Kai Peters wrote:
> Hi ~
> 
> is there a way to execute a shell script on the samba server from a windows client via Samba?
> 


More information about the samba mailing list