run scripts on samba server

Charlie Brady cbrady at
Thu Jun 11 04:25:41 GMT 1998

On Wed, 10 Jun 1998, Christoph Müller wrote:

> I have a network with Win95 clients and a samba-server 1.9.18p3 on Linux
> 2.033. Linux is only used as serversystem, clientusers are nonfamiliar
> with Linux. 
> Sometimes it would be usefull, to start a program or script on the
> server from the client. This can be done via telnet, but I'd like to
> know if there is some sort of call implemented in samba to start a
> script on the server without login into Linux. Before I used samba, I
> had a dosbased serversystem where I could open a file on the server with
> a certain open-modus and the file would then be executed on the server.
> This is aproximately what I'm thinking about. 
> Any hints?

Check out "magic script" in the smb.conf man page.

Charlie Brady - Telstra  |internet: cbrady at
Network Products         |Snail    : Locked Bag 6581, GPO Sydney 2001 Australia
Platform Technologies    |Physical : Lvl 2, 175 Liverpool St, Sydney 2000
 IN-Sub Unit - Sydney    | Phone: +61 2 9206 3470 Fax: +61 2 9281 1301

More information about the samba mailing list