Created
December 14, 2014 17:47
-
-
Save dinigo/8db7776d9f5c56265778 to your computer and use it in GitHub Desktop.
Samba configuration at /etc/samba/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
workgroup = WORKGROUP | |
server string = %h server (Samba, Ubuntu) | |
server role = standalone server | |
map to guest = Bad User | |
obey pam restrictions = Yes | |
pam password change = Yes | |
passwd program = /usr/bin/passwd %u | |
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . | |
unix password sync = Yes | |
syslog = 0 | |
log file = /var/log/samba/log.%m | |
max log size = 1000 | |
dns proxy = No | |
usershare allow guests = Yes | |
panic action = /usr/share/samba/panic-action %d | |
idmap config * : backend = tdb | |
[home] | |
comment = Home Directories | |
valid users = @samba | |
path = /home/%U | |
read only = No | |
create mask = 0700 | |
directory mask = 0700 | |
browseable = Yes | |
[Sharedfolder] | |
comment = Comment about this folder | |
path = /path/to/folder | |
valid users = @samba | |
read only = No | |
create mask = 0765 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment