Hi ~ is there a way to execute a shell script on the samba server from a windows client via Samba? Thanks, Kai
The only way I could see doing it using ssh, rsh.... that will let you go to the server and run a command. For example: ssh <server> script. You would have to install a micosoft version of ssh, I do not beleive that one comes with any version of Windows. Mike On Fri, 2003-04-18 at 12:22, Kai Peters wrote:> Hi ~ > > is there a way to execute a shell script on the samba server from a windows client via Samba? > > Thanks, > Kai > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
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? >