This option sets the location of the
smbrun executable, which Samba uses as a wrapper to run shell commands. The default value for this option is automatically configured by Samba when it is compiled. If you did not install Samba to the standard directory, you can specify where the binary is as follows:
[global]
smbrun = /usr/local/bin/smbrun