Skip to content

Instantly share code, notes, and snippets.

@demofly
Created August 6, 2015 16:13
Show Gist options
  • Save demofly/9880dc575247ae07b317 to your computer and use it in GitHub Desktop.
Save demofly/9880dc575247ae07b317 to your computer and use it in GitHub Desktop.
smb.conf for dev VMs in AD
[global]
workgroup = SAGL
server string = SA
netbios name = duser047
hosts allow = 10.8. 127.0.0.1
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
valid users = ISP.LOCAL\%S
create mask = 0770
directory mask = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment