Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * the printing code should now be back to the working state it was | Gerald Carter | 2002-08-17 | 1 | -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 | ||||
* | Fairly large change to printing code. | Gerald Carter | 2002-08-16 | 1 | -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 | ||||
* | one line merge from APP_HEAD | Gerald Carter | 2002-08-08 | 1 | -1/+1 |
| | |||||
* | delete printer driver fix from APP_HEAD | Gerald Carter | 2002-08-08 | 1 | -14/+37 |
| | |||||
* | printing change notification merge from APPLIANCE_HEAD | Gerald Carter | 2002-08-08 | 2 | -19/+47 |
| | |||||
* | Merge of print notify fixes from APPLIANCE_HEAD. | Tim Potter | 2002-08-02 | 1 | -6/+5 |
| | |||||
* | couple of minor formatting fixes to help me see better. | Gerald Carter | 2002-07-29 | 1 | -4/+2 |
| | |||||
* | Merge from APPLIANCE_HEAD. | Tim Potter | 2002-07-22 | 1 | -1/+1 |
| | |||||
* | Ensure we're root before opening a printer backend tdb. | Jeremy Allison | 2002-07-22 | 1 | -0/+4 |
| | | | | Jeremy. | ||||
* | And a little more 'const'. | Andrew Bartlett | 2002-07-20 | 1 | -1/+1 |
| | |||||
* | another intermediate checkin on the way to enumerating forms | Gerald Carter | 2002-07-20 | 1 | -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. | ||||
* | More fixes towards warnings on the IRIX compiler | Andrew Bartlett | 2002-07-20 | 3 | -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 | ||||
* | Gone back to explicit queue number passing as snum - removed encoding of | Jeremy Allison | 2002-07-17 | 2 | -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. | ||||
* | Lanman print jobs are *16* bits, not 32. arggggh. Map them.... | Jeremy Allison | 2002-07-17 | 1 | -0/+79 |
| | | | | Jeremy. | ||||
* | Put printing tdbs in a subdirectory to prevent name collisions. | Jeremy Allison | 2002-07-16 | 1 | -1/+6 |
| | | | | Jeremy. | ||||
* | added copyright | Gerald Carter | 2002-07-11 | 1 | -0/+1 |
| | |||||
* | last check in for tonight. | Gerald Carter | 2002-07-11 | 1 | -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) | ||||
* | all that is left to do is to actually perform the | Gerald Carter | 2002-07-11 | 1 | -15/+155 |
| | | | | | file deletion now. I have the file list. One more commit should do it. | ||||
* | intermediate work on DeletePrinterDriverEx(). This call | Gerald Carter | 2002-07-11 | 1 | -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 | ||||
* | *Experimental* new large-scaling printer code. Splits printing.tdb into | Jeremy Allison | 2002-07-11 | 4 | -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. | ||||
* | Fix for LPRng from James Henstridge james@daa.com.au. | Jeremy Allison | 2002-07-08 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Address the string_sub problem by changing len = 0 to mean "no expand". | Jeremy Allison | 2002-07-02 | 2 | -9/+9 |
| | | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy. | ||||
* | used findstatic.pl to make some variables static and remove some dead | Andrew Tridgell | 2002-07-01 | 1 | -1/+1 |
| | | | | code | ||||
* | Shut down printing tdb correctly - this will be more important when I go | Jeremy Allison | 2002-06-28 | 1 | -3/+17 |
| | | | | | to a tdb per-queue for scalability. Jeremy. | ||||
* | Proper merge of all the working printing stuff from APPLIANCE_HEAD. | Jeremy Allison | 2002-06-28 | 2 | -158/+435 |
| | | | | | Now let's keep this in sync ! Jeremy. | ||||
* | It's fairly obvious that no one has tried to upload a driver | Gerald Carter | 2002-06-27 | 1 | -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 | ||||
* | replacing free() with SAFE_FREE() where possible | Gerald Carter | 2002-06-24 | 1 | -8/+8 |
| | |||||
* | backing out changes for now | Gerald Carter | 2002-06-24 | 1 | -11/+11 |
| | |||||
* | printing merge from SAMBA_2_2. Ther server code looks to be in sync now. | Gerald Carter | 2002-06-24 | 4 | -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 | ||||
* | Format tidyup before I start working on scalability fixes (one file per | Jeremy Allison | 2002-06-21 | 1 | -74/+134 |
| | | | | | print queue). Jeremy. | ||||
* | Globally replace 'global_sam_sid' with get_global_sam_sid(), a self | Andrew Bartlett | 2002-06-07 | 1 | -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 | ||||
* | Ok, ok, I was too impatient... | Jim McDonough | 2002-05-10 | 1 | -2/+2 |
| | |||||
* | Fix build. Changed MSG_PRINTER_UPDATE to MSG_PRINTER_DRVUPGRADE. | Jim McDonough | 2002-05-10 | 1 | -2/+2 |
| | | | | Jeremy, please verify that this was ok... | ||||
* | Merged in printing fixes... There were many missing ! | Jeremy Allison | 2002-05-09 | 1 | -0/+29 |
| | | | | Jeremy | ||||
* | Added Martin's lpq parse fixes from 2.2. | Jeremy Allison | 2002-04-19 | 1 | -20/+12 |
| | | | | Jeremy. | ||||
* | When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!). | Jeremy Allison | 2002-04-19 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | Merge of print server permission handling fixes from HEAD. | Tim Potter | 2002-04-15 | 1 | -0/+16 |
| | | | | Unit tests rock! | ||||
* | when background printing wasn't enabled printing was completely broken | Andrew Tridgell | 2002-04-13 | 1 | -1/+4 |
| | | | | as the pid was 0 | ||||
* | removed unnecessary memset | Gerald Carter | 2002-04-11 | 1 | -2/+1 |
| | |||||
* | specversion merge from SAMBA_2_2 | Gerald Carter | 2002-04-11 | 1 | -0/+2 |
| | |||||
* | Stomped on some header file version numbers that have crept back in. | Tim Potter | 2002-03-22 | 1 | -1/+1 |
| | |||||
* | Ensure we don't do lp_servicename()'s in tdb traverse as this | Jeremy Allison | 2002-03-20 | 1 | -5/+7 |
| | | | | | allocates lots of memory. Jeremy. | ||||
* | Print queue entries *must* have queue names, not numbers - numbers are | Jeremy Allison | 2002-03-20 | 1 | -7/+30 |
| | | | | | | not identical between different smbds (mr potter, come here and take your medicine.... :-). Jeremy. | ||||
* | Remove the "stat open" code - make it inline. This should fix the | Jeremy Allison | 2002-03-20 | 1 | -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. | ||||
* | Merge JohnR's fix. | Jeremy Allison | 2002-03-19 | 1 | -5/+10 |
| | | | | Jeremy. | ||||
* | Merge in JohnR's page count fixes. | Jeremy Allison | 2002-03-19 | 1 | -4/+31 |
| | | | | Jeremy. | ||||
* | Fix ability to compile with CUPS support. | John Terpstra | 2002-03-17 | 1 | -2/+2 |
| | |||||
* | Added dos_errstr() function. Not all errors in list yet. | Tim Potter | 2002-03-17 | 1 | -1/+1 |
| | |||||
* | syncing up printing code with SAMBA_2_2 (already done some merges | Gerald Carter | 2002-03-15 | 3 | -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 | ||||
* | getpid() -> sys_getpid() | Tim Potter | 2002-03-14 | 1 | -1/+1 |
| |