diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-12-03 05:08:07 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-12-03 05:08:07 +0000 |
commit | 6a83de0ae954bb18d3f15382f2b0b3259fedff09 (patch) | |
tree | b8631057724bc01baf26f7bb92fe80f35ed70f1d /examples/smb.conf.default | |
parent | af57bc05fe0f248aaef329358c583abcffe1657c (diff) | |
download | samba-6a83de0ae954bb18d3f15382f2b0b3259fedff09.tar.gz |
applied a patch from Norm Jacobs to allow "printcap name = lpstat"
to use lpstat to obtain the printer list on systemV systems.
I've now made this the default on all SYSV systems.
Jeremy, you were a little worried about the security of this patch. I
believe it's OK as the user has no control over the options given to
popen() and the pipe is only open for reading.
Diffstat (limited to 'examples/smb.conf.default')
-rw-r--r-- | examples/smb.conf.default | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/smb.conf.default b/examples/smb.conf.default index a7949d0585c..fba4ecca0ac 100644 --- a/examples/smb.conf.default +++ b/examples/smb.conf.default @@ -29,9 +29,16 @@ # If you want to automatically load your printer list rather # than setting them up individually then you'll need this - printcap name = /etc/printcap load printers = yes +# you may wish to override the location of the printcap file +; printcap name = /etc/printcap + +# on SystemV system setting printcap name to lpstat should allow +# you to automatically obtain a printer list from the SystemV spool +# system +; printcap name = lpstat + # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx |