[Samba] preexec BATCH FILE

Terry ( 1stKMH ) terry at firstkmh.co.uk
Wed Sep 2 06:32:41 MDT 2009


Terry  wrote:
> Can I use the preexec option to run a batch file when a share is accessed ?
> This would not be a domain logon though
> 
> 
> for example
> 
> [san]
> path=/tank/samba
> guest ok=yes
> readonly=no
> preexec = /tank/samba/MENU.CMD
> 
> Thanks
> Terry
> 

Ah preexec tries to run it on the server its self of course bit of a blonde moment there


More information about the samba mailing list