Steve Kelem
2016-07-30 02:04:55 UTC
# Global parameters
[global]
server string = Samba file and print server
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
passwd program = /usr/bin/passwd '%u'
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd chat timeout = 120
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/samba.log
max log size = 1000
name resolve order = host lmhosts wins bcast
printcap name = cups
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
logon script = %G.bat
logon path = \\%L\profiles\%u
logon drive = m:
logon home = \\%L\homes\%u
os level = 33
dns proxy = No
panic action = /usr/share/samba/panic-action %d
template shell = /dev/null
idmap config * : backend = tdb
hosts allow = 10.0.2.
cups options = raw
follow symlinks = No
[homes]
comment = Home Directories
path = /local/home/%U
valid users = %U
read only = No
browseable = No
locking = No
strict locking = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = No
browseable = No
[profiles]
comment = User Profiles
path = /var/lib/samba/profiles
valid users = root bigserver$ <users>
read only = No
create mask = 0600
directory mask = 0700
directory mode = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[pdf-documents]
comment = Converted PDF Documents
path = /var/lib/samba/pdf-documents
admin users = %U
read only = No
guest ok = Yes
[pdf-printer]
comment = PDF Printer Service
path = /tmp
guest ok = Yes
printable = Yes
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
use client driver = Yes
[projects]
comment = Woodworking projects
path = /local/home/biguser/rec/woodworking/Projects
valid users = biguser
read only = No
create mask = 0644
[global]
server string = Samba file and print server
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
passwd program = /usr/bin/passwd '%u'
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd chat timeout = 120
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/samba.log
max log size = 1000
name resolve order = host lmhosts wins bcast
printcap name = cups
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
logon script = %G.bat
logon path = \\%L\profiles\%u
logon drive = m:
logon home = \\%L\homes\%u
os level = 33
dns proxy = No
panic action = /usr/share/samba/panic-action %d
template shell = /dev/null
idmap config * : backend = tdb
hosts allow = 10.0.2.
cups options = raw
follow symlinks = No
[homes]
comment = Home Directories
path = /local/home/%U
valid users = %U
read only = No
browseable = No
locking = No
strict locking = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
read only = No
browseable = No
[profiles]
comment = User Profiles
path = /var/lib/samba/profiles
valid users = root bigserver$ <users>
read only = No
create mask = 0600
directory mask = 0700
directory mode = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[pdf-documents]
comment = Converted PDF Documents
path = /var/lib/samba/pdf-documents
admin users = %U
read only = No
guest ok = Yes
[pdf-printer]
comment = PDF Printer Service
path = /tmp
guest ok = Yes
printable = Yes
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
use client driver = Yes
[projects]
comment = Woodworking projects
path = /local/home/biguser/rec/woodworking/Projects
valid users = biguser
read only = No
create mask = 0644