While I'm fixing cups stuff, update these instructions. There was a typo

in the global section, and I've sorted the [Printers] section to match
how it's organized in cupsaddsmb(1). I've also added references to that
page, and to the samba How To since I found them both useful when I
set this up.
This commit is contained in:
Doug Barton 2004-11-15 03:02:28 +00:00
parent 30b21968e9
commit b44cd11b6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121630

View file

@ -16,10 +16,10 @@ SAMBA
-------
1) edit the [global] section of smb.conf and make sure it has these
lines:
lines (see 'man cupsaddsmb' for more info):
[global]
load printer = yes
load printers = yes
printing = cups
printcap name = cups
@ -29,12 +29,12 @@ SAMBA
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
guest ok = yes
printable = yes
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root
3) edit the [print$] section of smb.conf and make sure it has these
lines:
@ -43,6 +43,7 @@ SAMBA
comment = Printer Drivers
path = %%PREFIX%%/share/cups/drivers
browseable = yes
# guest ok = yes works too
guest ok = no
read only = yes
write list = root
@ -80,5 +81,8 @@ ____________
NOTE: Other settings in smb.conf may work, but your REALLY need to
know what your are doing. :)
%%PREFIX%%/share/doc/samba/Samba-HOWTO-Collection.pdf has some
valuable information on this topic, especially chapters 17 and 18.
**********************************************************************
**********************************************************************