aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-11-15 11:02:28 +0800
committerdougb <dougb@FreeBSD.org>2004-11-15 11:02:28 +0800
commit824b9a2a5ef322197c7b97aa9f50483ce1b8b05e (patch)
tree120fcbbd4b9629e6a4b725cc49ae15f8b655a57f /print
parent6c1a388db4493fab763e50875390a5487b1d24a1 (diff)
downloadfreebsd-ports-graphics-824b9a2a5ef322197c7b97aa9f50483ce1b8b05e.tar.gz
freebsd-ports-graphics-824b9a2a5ef322197c7b97aa9f50483ce1b8b05e.tar.zst
freebsd-ports-graphics-824b9a2a5ef322197c7b97aa9f50483ce1b8b05e.zip
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.
Diffstat (limited to 'print')
-rw-r--r--print/cups-samba/pkg-message14
1 files changed, 9 insertions, 5 deletions
diff --git a/print/cups-samba/pkg-message b/print/cups-samba/pkg-message
index 83625eecf09..946c1e30d5b 100644
--- a/print/cups-samba/pkg-message
+++ b/print/cups-samba/pkg-message
@@ -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.
+
**********************************************************************
**********************************************************************