2. ConfigurationΒΆ

Configure the script :

You can edit the script and change some value if you want to customize the behavior.

Change the graphical interface :

DIALOG="whiptail"

or

DIALOG="dialog"

Restart or reload the samba server when you change the configuration :

SMBOPTION="restart"

or

SMBOPTION="reload"

Change the location of the samba shares :

ALL_SHARES_PATH="/home/Samba/Shares"

Change the location of the smbtool log tile :

LOGPATH="/tmp/smbtool"

System owner of all samba shares :

SHARE_OWNERS="root:root"

Note

The user must be different from your samba users who have access to the shares. The acl give the access right and not the unix permission.