summaryrefslogtreecommitdiffstats
path: root/source/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-03 05:08:07 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-03 05:08:07 +0000
commit6a83de0ae954bb18d3f15382f2b0b3259fedff09 (patch)
treeb8631057724bc01baf26f7bb92fe80f35ed70f1d /source/param
parentaf57bc05fe0f248aaef329358c583abcffe1657c (diff)
downloadsamba-6a83de0ae954bb18d3f15382f2b0b3259fedff09.tar.gz
samba-6a83de0ae954bb18d3f15382f2b0b3259fedff09.tar.xz
samba-6a83de0ae954bb18d3f15382f2b0b3259fedff09.zip
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 'source/param')
-rw-r--r--source/param/loadparm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index abb3496f4e4..a8e70717b61 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -64,14 +64,6 @@ extern pstring myname;
#define GLOBAL_NAME "global"
#endif
-#ifndef PRINTCAP_NAME
-#ifdef AIX
-#define PRINTCAP_NAME "/etc/qconfig"
-#else
-#define PRINTCAP_NAME "/etc/printcap"
-#endif
-#endif
-
#ifndef PRINTERS_NAME
#define PRINTERS_NAME "printers"
#endif