[Samba] Please Help!!! smbcontrol close-share

Carlos R.P.Evertsz carlosrpevertsz at gmail.com
Tue Sep 8 20:36:30 UTC 2015

Thank you Marc,

I created a script to write the parameters in a file to be included in 
my smb.conf with include = /../whatever.conf.

I think that is the easiest and cleanest way to do it.

Thanks a lot for your help.


On Sep/08/2015 4:28 PM, Marc Muehlfeld wrote:
> Am 08.09.2015 um 21:59 schrieb Carlos R.P.Evertsz:
>> One final question; It is possible to load a configuration file with
>> non-standard name?  For example to load TempSMB.conf instead of smb.conf?
> It depents what you're meaning. You can start e. g. "smbd" with -c to
> give an alternative configuration file. -> man smbd
> But for switching to this other file, you have to kill all smbd
> processes and restart smbd.
> Or you can include a file in your smb.conf, that contains additional
> stuff like e. g. just this share.
> See smb.conf manpage: include
> Regards,
> Marc

More information about the samba mailing list