вторник, 11 февраля 2014 г.

Samba. Example

[global]
workgroup = workgroup
printing = cups
wins support = yes
netbios name = Tortuga
security = share
guest account = tortuga
cups options = raw
show add printer wizard = yes
printer admin = root, tortuga, admin

[printers]
comment = All printers
printable = yes
path = /var/spool/samba
guest only = yes
guest ok = yes
read only = no

[print$]
comment = Drivers for printers
path = /var/lib/samba/drivers
guest only = yes
guest ok = yes
browsable = no
read only = yes
create mask = 0777
directory mask = 0777
force user = tortuga
force group = tortuga
write list = root, tortuga, admin

[PDrivers]
path = /home/tortuga/PrintDrivers
browsable = yes
writable = no
guest ok = yes
read only = yes