Skip to content

Instantly share code, notes, and snippets.

@brycemcd
Created July 4, 2011 20:31
Show Gist options
  • Select an option

  • Save brycemcd/1063891 to your computer and use it in GitHub Desktop.

Select an option

Save brycemcd/1063891 to your computer and use it in GitHub Desktop.
samba configuration
[global]
#set up what the end user would see on their desktop
workgroup = H4LSharedFiles
server string = common files for H4L
#general user perms
security = user
passdb backend = tdbsam
#printing support
load printers = no
printing = bsd
printcap name = /dev/null
show add printer wizard = no
disable spools = yes
[AllSharedFiles]
comment = Files for everyone to share
path = /sambashares/allAccess
writeable = yes
browseable = yes
guest ok = yes
write list = +allemployees
[Backup]
comment = Files to back up everyone's computer
path = /sambashares/backups
writeable = yes
browseable = yes
guest ok = yes
write list = +allemployees
[AdminOnly]
comment = Access for sensitive files
path = /sambashares/admins
writeable = yes
browseable = yes
guest ok = no
write list = +administrators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment