summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2002-10-26Fix problem where an fd would be left open for every printer queue.Jeremy Allison1-0/+27
Jeremy. (This used to be commit e240c7a428659bce392d47f2eda16bdcf32863c1)
2002-10-21removed the following parametersGerald Carter2-73/+0
* postscript * printer driver * printer driver location * printer driver file also removed the get_a_printer_driver_9x_compatible() function (This used to be commit 743f2b8025effe57d8f075ff14a9357123c507a8)
2002-10-16Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison1-1/+3
Jeremy. (This used to be commit 20986489f4736820a4981c6aa0eecccf169f0170)
2002-10-16SMB_ASSERT to check list terminates.Jeremy Allison1-0/+3
Jeremy. (This used to be commit bf3b0ef56168aff9b1bd5760b595f8951d434861)
2002-10-04Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2-9/+9
MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter5-308/+864
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with headJelmer Vernooij4-233/+185
(This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
2002-08-17Sync 3.0 branch with HEADJelmer Vernooij3-523/+432
(This used to be commit eac75549c398f208484ae735d5a5931fed6d0e99)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell6-451/+1167
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-14This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+230
used to be commit b8d39651fb90ef170055735412417239a63afc5d)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit dcb6d70706a0e86881588c3828ff5bd4d63d415f)
2002-07-11last check in for tonight.Gerald Carter1-40/+128
* DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3) (This used to be commit 17bb780e1327663fa2fcd6a3cb25dd461a29c537)
2002-07-11all that is left to do is to actually perform theGerald Carter1-15/+155
file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter1-71/+146
will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c (This used to be commit 3fa6c3132950c9ff1c6a532d8264ee34a6b2b0ff)
2002-07-11*Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison4-155/+411
a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy. (This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
2002-07-08Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 9c93f8908919a02099884d393312ef27d4a2d24e)
2002-07-02Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2-9/+9
Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy. (This used to be commit 17cae0d683be404be69554cd0e84117bdcc56c87)
2002-07-01used findstatic.pl to make some variables static and remove some deadAndrew Tridgell1-1/+1
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-28Shut down printing tdb correctly - this will be more important when I goJeremy Allison1-3/+17
to a tdb per-queue for scalability. Jeremy. (This used to be commit e808eb2758ff4ad1eed7b50a02865b87ba0c068e)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2-158/+435
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-27It's fairly obvious that no one has tried to upload a driverGerald Carter1-2/+2
to a Samba print server running HEAD in a while. This has been broken since tridge's changes to make_connection() to not do the chdir() to the connect_path. Sorry it took me so long to get around to fixing it. The problem occured with our internal use of make_connection(). jerry (This used to be commit b5bc8aa0f68ceebfb5c0ec15ff93b0172cec36d8)
2002-06-24replacing free() with SAFE_FREE() where possibleGerald Carter1-8/+8
(This used to be commit 5a4a7e5a88f4fdc5891436b05e44b05d1e7ad3f1)
2002-06-24backing out changes for nowGerald Carter1-11/+11
(This used to be commit e3422addeb2a74ba92e3b5374d1a1efbcc825d5a)
2002-06-24printing merge from SAMBA_2_2. Ther server code looks to be in sync now.Gerald Carter4-29/+34
Mostly formatting and s/free/SAFE_FREE/g changes with the two exceptions being * John driver init changes * Tim's printer enumeration bug fix (This used to be commit f7536762863811f96364e8acd3716bdb7d665bbf)
2002-06-21Format tidyup before I start working on scalability fixes (one file perJeremy Allison1-74/+134
print queue). Jeremy. (This used to be commit 6544a500d0696c9fe1f1abc067a8b963a0e2b8da)
2002-06-07Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett1-2/+1
initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett (This used to be commit 96afea638e15d4cbadc57023a511094a770c6adc)
2002-05-10Ok, ok, I was too impatient...Jim McDonough1-2/+2
(This used to be commit af35c5a57ca5544441bd82b695d878f388cd5e73)
2002-05-10Fix build. Changed MSG_PRINTER_UPDATE to MSG_PRINTER_DRVUPGRADE.Jim McDonough1-2/+2
Jeremy, please verify that this was ok... (This used to be commit f191563c7f1cfb7250327333a9470edc4dbedde1)
2002-05-09Merged in printing fixes... There were many missing !Jeremy Allison1-0/+29
Jeremy (This used to be commit 32fa089adead6ff3279172fd36560f4f9e2aeef0)
2002-04-22printing merge from HEADGerald Carter2-23/+18
(This used to be commit d3aed37dd87d425f51bcdc4e5151f0b0fe8f9c6b)
2002-04-19Added Martin's lpq parse fixes from 2.2.Jeremy Allison1-20/+12
Jeremy. (This used to be commit 3853234c2649c501e9876f940f802be86cb6383d)
2002-04-19When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 9209d8e718e860e6a58937376cbb437b6b7adbbb)
2002-04-15Merge of print server permission handling fixes from HEAD.Tim Potter1-0/+16
Unit tests rock! (This used to be commit bc673c42045ceb46d9569bc4d88f9c64897fc85a)
2002-04-15Merge of print server permission handling fixes from HEAD.Tim Potter1-0/+16
(This used to be commit 62ee1f8c3fbcf83641bed881143a1a8c70f836ba)
2002-04-13when background printing wasn't enabled printing was completely brokenAndrew Tridgell1-1/+4
as the pid was 0 (This used to be commit f16033635f5125758a3d2c3b0780d5bd2bd7bdbd)
2002-04-11removed unnecessary memsetGerald Carter1-2/+1
(This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)
2002-04-11specversion merge from SAMBA_2_2Gerald Carter1-0/+2
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
2002-03-22Stomped on some header file version numbers that have crept back in.Tim Potter1-1/+1
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
2002-03-20Ensure we don't do lp_servicename()'s in tdb traverse as thisJeremy Allison1-5/+7
allocates lots of memory. Jeremy. (This used to be commit fbc8c6a1096ec829f48b403239f105065bf155b1)
2002-03-20Print queue entries *must* have queue names, not numbers - numbers areJeremy Allison1-7/+30
not identical between different smbds (mr potter, come here and take your medicine.... :-). Jeremy. (This used to be commit 230941d2fbb746d39c00e482e7f600c68aa45efa)
2002-03-20Remove the "stat open" code - make it inline. This should fix theJeremy Allison1-1/+0
bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
2002-03-19Merge JohnR's fix.Jeremy Allison1-5/+10
Jeremy. (This used to be commit d5fd1fd859cec3076d2f01ed234314ea8d80a753)
2002-03-19Merge in JohnR's page count fixes.Jeremy Allison1-4/+31
Jeremy. (This used to be commit 2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
2002-03-17Fix ability to compile with CUPS support.John Terpstra1-2/+2
(This used to be commit 208c62c5a7bca68f223b5832d7971c3d38cb6820)
2002-03-17Added dos_errstr() function. Not all errors in list yet.Tim Potter1-1/+1
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter3-54/+96
in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
2002-03-14getpid() -> sys_getpid()Tim Potter1-1/+1
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
2002-03-14Backed out enumprinters stuff - leave it for another day.Tim Potter1-1/+3
(This used to be commit d7efc5dd3dd712e7138b5c79eea9756125757175)
2002-03-12Merge of enumprinters vs getprinter naming patch from 2.2Tim Potter1-6/+8
(This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)
2002-03-07Fix for machines that have their time changed forward, then back. EnsureJeremy Allison1-6/+18
that any cached lpq information gathered during that time doesn't stay around for longer than 1 hour. Jeremy. (This used to be commit 39fca711a5cf15a03d6c79639b202712d1749a64)