summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-05-09 21:49:24 +0000
committerGerald Carter <jerry@samba.org>2003-05-09 21:49:24 +0000
commitb493aadb7a1b73c99c0c68d410001fa7ce6f0817 (patch)
treee5060b679d6eafcc74fff78437da7121b16ad30a
parenta441a70b16481b21a0eb445bf1a0ab9e8f75279b (diff)
downloadsamba-b493aadb7a1b73c99c0c68d410001fa7ce6f0817.tar.gz
samba-b493aadb7a1b73c99c0c68d410001fa7ce6f0817.tar.bz2
samba-b493aadb7a1b73c99c0c68d410001fa7ce6f0817.zip
removing total print jobs since it is not used anymore
(This used to be commit 6138093aa0ded3719f73ed3efbd7172131ca0fa3)
-rw-r--r--docs/docbook/smbdotconf/printing/totalprintjobs.xml22
-rw-r--r--source3/param/loadparm.c2
2 files changed, 0 insertions, 24 deletions
diff --git a/docs/docbook/smbdotconf/printing/totalprintjobs.xml b/docs/docbook/smbdotconf/printing/totalprintjobs.xml
deleted file mode 100644
index ccdb137a69..0000000000
--- a/docs/docbook/smbdotconf/printing/totalprintjobs.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<samba:parameter name="total print jobs"
- context="G"
- print="1"
- xmlns:samba="http://samba.org/common">
-<listitem>
- <para>This parameter accepts an integer value which defines
- a limit on the maximum number of print jobs that will be accepted
- system wide at any given time. If a print job is submitted
- by a client which will exceed this number, then <citerefentry><refentrytitle>smbd</refentrytitle>
- <manvolnum>8</manvolnum></citerefentry> will return an
- error indicating that no space is available on the server. The
- default value of 0 means that no such limit exists. This parameter
- can be used to prevent a server from exceeding its capacity and is
- designed as a printing throttle. See also <link linkend="MAXPRINTJOBS">
- <parameter moreinfo="none">max print jobs</parameter></link>.
- </para>
-
- <para>Default: <command moreinfo="none">total print jobs = 0</command></para>
-
- <para>Example: <command moreinfo="none">total print jobs = 5000</command></para>
-</listitem>
-</samba:parameter>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5399969f9f..66a4b1c02e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -909,7 +909,6 @@ static struct parm_struct parm_table[] = {
{"Printing Options", P_SEP, P_SEPARATOR},
- {"total print jobs", P_INTEGER, P_GLOBAL, &Globals.iTotalPrintJobs, NULL, NULL, FLAG_PRINT},
{"max reported print jobs", P_INTEGER, P_LOCAL, &sDefault.iMaxReportedPrintJobs, NULL, NULL, FLAG_PRINT},
{"max print jobs", P_INTEGER, P_LOCAL, &sDefault.iMaxPrintJobs, NULL, NULL, FLAG_PRINT},
{"load printers", P_BOOL, P_GLOBAL, &Globals.bLoadPrinters, NULL, NULL, FLAG_PRINT},
@@ -1735,7 +1734,6 @@ FN_GLOBAL_INTEGER(lp_maxdisksize, &Globals.maxdisksize)
FN_GLOBAL_INTEGER(lp_lpqcachetime, &Globals.lpqcachetime)
FN_GLOBAL_INTEGER(lp_max_smbd_processes, &Globals.iMaxSmbdProcesses)
FN_GLOBAL_INTEGER(lp_disable_spoolss, &Globals.bDisableSpoolss)
-FN_GLOBAL_INTEGER(lp_totalprintjobs, &Globals.iTotalPrintJobs)
FN_GLOBAL_INTEGER(lp_syslog, &Globals.syslog)
static FN_GLOBAL_INTEGER(lp_announce_as, &Globals.announce_as)
FN_GLOBAL_INTEGER(lp_lm_announce, &Globals.lm_announce)