A simple blog, to be completed.
– 1st point :
An example of samba configuration file structure :
[global] workgroup = METRAN encrypt passwords = yes wins support = yes log level = 1 max log size = 1000 read only = no [homes] browsable = no map archive = yes [printers] path = /var/tmp printable = yes min print space = 2000 [test] browsable = yes read only = yes path = /usr/local/samba/tmp
– 2nd point :
There is a very interesting option in samba configuration file is : include
We can do as in Apache configuration file :
[global] include = /usr/local/samba/lib/smb.conf.%m
Which is more interesting for multiple applications is that, if the configuration file specified does not exist, the option is ignored. It won’t raise an error if one of them not exist.
– 3rd point :
Command to add a samba user :
smbpasswd -a your_username