summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
...
| * * the printing code should now be back to the working state it wasGerald Carter2002-08-171-38/+19
| | | | | | | | | | | | | | | | | | | | | | before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE. * XxxPrinterDataEx() functions have not been expanded to support keys other than SPOOL_PRINTERDATA_KEY yet * fixed apparent long standing bug regarding the dependentfiles list in the DRIVER_INFO struct (This used to be commit d59b0eb1236cf5bb9371030a94eb60d4131c15fb)
| * Fairly large change to printing code.Gerald Carter2002-08-161-435/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removed support for PHANTOM_DEVMODE printer data * s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit of work. Everything seems stable, but is not complete. * support for printer data keys other than PrinterDriverData in the store and fetch routines. Still needs to be plugged into the XxxPrinterDataEx() calls. Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't crash so it shouldn't upset anyone (unless you're trying to build a Samba printer server off of HEAD). More work to come. Should settle by Monday. jerry (This used to be commit 7ba7c04c0e961618c82c2112b9627af114c6cc42)
| * one line merge from APP_HEADGerald Carter2002-08-081-1/+1
| | | | | | | | (This used to be commit b6b64d06a630f741c7ffbec99b71d34496159fa7)
| * delete printer driver fix from APP_HEADGerald Carter2002-08-081-14/+37
| | | | | | | | (This used to be commit 9c6b930068d1e762fad78c9e36792764c280b85c)
| * printing change notification merge from APPLIANCE_HEADGerald Carter2002-08-082-19/+47
| | | | | | | | (This used to be commit 11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
| * Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-021-6/+5
| | | | | | | | (This used to be commit 7bf9ca6ca36fa319a57eab05567d49a003237bb5)
| * couple of minor formatting fixes to help me see better.Gerald Carter2002-07-291-4/+2
| | | | | | | | (This used to be commit 26027ee42ae378eef59a8ae46f5e4e44bf2d4af0)
| * Merge from APPLIANCE_HEAD.Tim Potter2002-07-221-1/+1
| | | | | | | | (This used to be commit 825cdc49dbc3e6b9d08b8e722c82cc09e2479fa1)
| * Ensure we're root before opening a printer backend tdb.Jeremy Allison2002-07-221-0/+4
| | | | | | | | | | Jeremy. (This used to be commit 48ab4ae4221ed0be34c269e01a4e8b6bc93f87d7)
| * And a little more 'const'.Andrew Bartlett2002-07-201-1/+1
| | | | | | | | (This used to be commit 2cbbf0ecd33774041dd831956935ab3cf69ce2a6)
| * another intermediate checkin on the way to enumerating formsGerald Carter2002-07-201-5/+9
| | | | | | | | | | | | | | via the registry. There is a seg fault here which shouldn't bother anyone until I can get it fixed. I just need a check point in case I need to roll back to this version later on. (This used to be commit e62ae94823461e142978a786b2860ea97906cfb3)
| * More fixes towards warnings on the IRIX compilerAndrew Bartlett2002-07-203-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | (and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett (This used to be commit 30d0998c8c1a1d4de38ef0fbc83c2b763e05a3e6)
| * Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison2002-07-172-252/+121
| | | | | | | | | | | | | | queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy. (This used to be commit 4ff64f69706cc94d5dba7762754d00790c476963)
| * Lanman print jobs are *16* bits, not 32. arggggh. Map them....Jeremy Allison2002-07-171-0/+79
| | | | | | | | | | Jeremy. (This used to be commit 2b06fd305be10fa8a8629adb4a99ccd3960786da)
| * Put printing tdbs in a subdirectory to prevent name collisions.Jeremy Allison2002-07-161-1/+6
| | | | | | | | | | Jeremy. (This used to be commit b013b9437557f2d427e4b646b49ad7d99e94c164)
* | [print notify fixes from APP_HEAD]Gerald Carter2002-11-262-279/+122
| | | | | | | | | | | | | | | | | | * fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
* | Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-232-15/+25
| | | | | | | | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
* | Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-18/+22
| | | | | | | | | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* | First cut of fix for changenotify on a print server handle. Use the ↵Jeremy Allison2002-11-101-43/+80
| | | | | | | | | | | | | | | | connections tdb with an snum of -1 and a special printername. Jeremy. (This used to be commit 06b04380078ad840768a2c5a803f02669f54bc82)
* | Fix for scalable printing noticed by tpot. Don't loop infinatelyJeremy Allison2002-11-101-13/+36
| | | | | | | | | | | | when holding a mutex.... :-). Jeremy. (This used to be commit 7e7b40e0fe1302ae416247c70d8d76bd82ec3474)
* | Fix crash bug with overwriting malloced memory.Jeremy Allison2002-11-071-5/+3
| | | | | | | | | | Jeremy. (This used to be commit 3228730c8311ec6507227f8936318b1d965c1228)
* | Keeping branches in sync....Jeremy Allison2002-11-071-1/+2
| | | | | | | | | | Jeremy. (This used to be commit eb937761c4047bd98990ca33e56b668465e2c228)
* | Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-072-30/+307
| | | | | | | | | | Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
* | Fix slowdown because of enumerating all print queues on every smbd startup.Jeremy Allison2002-10-312-15/+18
| | | | | | | | | | Jeremy. (This used to be commit 6efd17ef78ebcfed1130312fa019d674e4663a00)
* | Check the long_archi name for NULL.Jeremy Allison2002-10-311-0/+6
| | | | | | | | | | Jeremy. (This used to be commit e504d1170da0d89da78063f0a00fc7b9294d911f)
* | Fix problem where an fd would be left open for every printer queue.Jeremy Allison2002-10-261-0/+27
| | | | | | | | | | Jeremy. (This used to be commit e240c7a428659bce392d47f2eda16bdcf32863c1)
* | removed the following parametersGerald Carter2002-10-212-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)
* | Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison2002-10-161-1/+3
| | | | | | | | | | Jeremy. (This used to be commit 20986489f4736820a4981c6aa0eecccf169f0170)
* | SMB_ASSERT to check list terminates.Jeremy Allison2002-10-161-0/+3
| | | | | | | | | | Jeremy. (This used to be commit bf3b0ef56168aff9b1bd5760b595f8951d434861)
* | Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2002-10-042-9/+9
| | | | | | | | | | | | MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)
* | sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-255-308/+864
| | | | | | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* | sync 3.0 branch with headJelmer Vernooij2002-08-174-233/+185
| | | | | | | | (This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
* | Sync 3.0 branch with HEADJelmer Vernooij2002-08-173-523/+432
| | | | | | | | (This used to be commit eac75549c398f208484ae735d5a5931fed6d0e99)
* | updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-156-451/+1167
| | | | | | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2002-07-141-0/+230
|\| | | | | | | used to be commit b8d39651fb90ef170055735412417239a63afc5d)
| * added copyrightGerald Carter2002-07-111-0/+1
| | | | | | | | (This used to be commit dcb6d70706a0e86881588c3828ff5bd4d63d415f)
| * last check in for tonight.Gerald Carter2002-07-111-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)
| * all that is left to do is to actually perform theGerald Carter2002-07-111-15/+155
| | | | | | | | | | | | file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
| * intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-111-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)
| * *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-114-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)
| * Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison2002-07-081-0/+2
| | | | | | | | | | Jeremy. (This used to be commit 9c93f8908919a02099884d393312ef27d4a2d24e)
| * Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-022-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)
| * used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-011-1/+1
| | | | | | | | | | code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
| * Shut down printing tdb correctly - this will be more important when I goJeremy Allison2002-06-281-3/+17
| | | | | | | | | | | | to a tdb per-queue for scalability. Jeremy. (This used to be commit e808eb2758ff4ad1eed7b50a02865b87ba0c068e)
| * Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-282-158/+435
| | | | | | | | | | | | Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
| * It's fairly obvious that no one has tried to upload a driverGerald Carter2002-06-271-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)
| * replacing free() with SAFE_FREE() where possibleGerald Carter2002-06-241-8/+8
| | | | | | | | (This used to be commit 5a4a7e5a88f4fdc5891436b05e44b05d1e7ad3f1)
| * backing out changes for nowGerald Carter2002-06-241-11/+11
| | | | | | | | (This used to be commit e3422addeb2a74ba92e3b5374d1a1efbcc825d5a)
| * printing merge from SAMBA_2_2. Ther server code looks to be in sync now.Gerald Carter2002-06-244-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)
| * Format tidyup before I start working on scalability fixes (one file perJeremy Allison2002-06-211-74/+134
| | | | | | | | | | | | print queue). Jeremy. (This used to be commit 6544a500d0696c9fe1f1abc067a8b963a0e2b8da)