help
[pirate@jim ~]$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[pdf-gen]"
Processing section "[docs]"
Loaded services file OK.
Warning: Service printers defines a print command, but rameter is ignored when using CUPS libraries.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = MSHOME
server string = %h
log file = /var/log/samba/%m.log
max log size = 50
printcap cache time = 60
printcap name = cups
logon path = \\%25N\%25U\profile
logon home = \\%25N\%25U
domain master = No
dns proxy = No
[homes]
comment = Home Directories
read only = No
browseable = No
browsable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = Yes
browseable = No
browsable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
[pdf-gen]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
printing = bsd
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
lprm command = lprm -P'%p' %j
[docs]
comment = too
path = /home/pirate/Documents
read only = No
guest ok = Yes
[pirate@jim ~]$