Last active
July 20, 2017 00:10
-
-
Save madelinecr/d17df71fdd7d202a3fca to your computer and use it in GitHub Desktop.
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
[datastore] | |
comment = Data | |
path = /mnt/datastore | |
valid users = @smbusers | |
read only = no | |
locking = no | |
guest ok = yes | |
directory mask = 0755 | |
create mask = 0700 | |
writable = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
➜ / testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[storage]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Global parameters
[global]
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.%s
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = %S
create mask = 0755
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[storage]
comment = Root Share Directory
path = /mnt/storage
force group = storage
read only = No
create mask = 0664
force directory mode = 02764
guest ok = Yes
locking = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers