Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Gone back to explicit queue number passing as snum - removed encoding of | Jeremy Allison | 2002-07-17 | 1 | -249/+118 |
| | | | | | | 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. | ||||
* | *Experimental* new large-scaling printer code. Splits printing.tdb into | Jeremy Allison | 2002-07-11 | 1 | -138/+396 |
| | | | | | | | 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. | ||||
* | 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 | 1 | -158/+205 |
| | | | | | Now let's keep this in sync ! Jeremy. | ||||
* | printing merge from SAMBA_2_2. Ther server code looks to be in sync now. | Gerald Carter | 2002-06-24 | 1 | -10/+10 |
| | | | | | | | | 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. | ||||
* | 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... | ||||
* | 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. | ||||
* | when background printing wasn't enabled printing was completely broken | Andrew Tridgell | 2002-04-13 | 1 | -1/+4 |
| | | | | as the pid was 0 | ||||
* | 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. | ||||
* | Merge in JohnR's page count fixes. | Jeremy Allison | 2002-03-19 | 1 | -4/+31 |
| | | | | Jeremy. | ||||
* | syncing up printing code with SAMBA_2_2 (already done some merges | Gerald Carter | 2002-03-15 | 1 | -6/+6 |
| | | | | | | | | | | | | | 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 |
| | |||||
* | Fix for machines that have their time changed forward, then back. Ensure | Jeremy Allison | 2002-03-07 | 1 | -6/+18 |
| | | | | | | that any cached lpq information gathered during that time doesn't stay around for longer than 1 hour. Jeremy. | ||||
* | Fixup the sending of printer change messages from job changes. | Jeremy Allison | 2002-02-26 | 1 | -17/+21 |
| | | | | Jeremy. | ||||
* | Merge of printing performance fixes from appliance. | Tim Potter | 2002-02-25 | 1 | -6/+6 |
| | |||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | Removed MAXSTATUS which was set incorrectly - thus causing tdb traversal | Jeremy Allison | 2002-01-14 | 1 | -5/+3 |
| | | | | | | of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy. | ||||
* | Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian | Jeremy Allison | 2002-01-09 | 1 | -12/+13 |
| | | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. | ||||
* | Fixed nasty cast of tdb_delete in traversals. | Jeremy Allison | 2002-01-03 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Factor out a broadcast_printer_notify() routine. | Martin Pool | 2001-12-21 | 1 | -7/+17 |
| | |||||
* | Fixed uninitialised variable warning. | Tim Potter | 2001-12-18 | 1 | -1/+1 |
| | |||||
* | Use print_queue_length() by preference if we don't need a queue | Jeremy Allison | 2001-12-05 | 1 | -0/+1 |
| | | | | | as it doesn't do a traversal. Jeremy. | ||||
* | Improved efficiency of enumerating print queue's under a particular | Jeremy Allison | 2001-12-05 | 1 | -9/+18 |
| | | | | | extreme condition... Jeremy. | ||||
* | Optimisation to send only to correct processid. | Jeremy Allison | 2001-10-16 | 1 | -6/+16 |
| | | | | Jeremy | ||||
* | very simple asynchronous "lpq" thread patch | Jean-François Micouleau | 2001-10-16 | 1 | -2/+50 |
| | | | | | | | | | | | | To speed up operations with the lpq command, it's now run in a separate asynchronous process. Opening the Printers folder on NT is now fast ;-) I think even faster than with a ** server Jeremy, you should look at that patch to include it in 2.2.3 J.F. | ||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -2/+0 |
| | |||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 |
| | |||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 1 | -4/+4 |
| | | | | the client code still needs some work | ||||
* | more NTSTATUS/WERROR conversion | Andrew Tridgell | 2001-09-03 | 1 | -11/+11 |
| | |||||
* | Fixed detection of CUPS. We need to check for the presence of the cups | Tim Potter | 2001-08-23 | 1 | -2/+2 |
| | | | | header files as well as libcups. | ||||
* | Merge in the NT drivers changes from 2.2. | Jeremy Allison | 2001-08-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Replaced the duplicate DOS constants with appropriate ones from doserr.h to | Tim Potter | 2001-08-10 | 1 | -9/+9 |
| | | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. | ||||
* | Fix for incorrect creation of print job names, based on a patch by | Jeremy Allison | 2001-07-16 | 1 | -2/+2 |
| | | | | | José M.Rodríguez <josemi@iies.es> Jeremy. | ||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -13/+4 |
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. | ||||
* | Properly instrument print_job_start()/print_job_end() so every fail case | Jeremy Allison | 2001-06-28 | 1 | -4/+20 |
| | | | | | logs a debug. We need this to track fail cases. Jeremy | ||||
* | use LDSHFLAGS not -shared in several places | Andrew Tridgell | 2001-06-04 | 1 | -1/+1 |
| | |||||
* | Removed mktemp from HEAD - same as done in 2.2. | Jeremy Allison | 2001-04-18 | 1 | -16/+7 |
| | | | | Jeremy. | ||||
* | Got "medieval on our ass" about adding the -1 to slprintf. | Jeremy Allison | 2001-04-08 | 1 | -10/+10 |
| | | | | Jeremy. | ||||
* | Fix from Dave Collier Brown to log a debug at level zero on common misconfigure. | Jeremy Allison | 2001-03-26 | 1 | -1/+13 |
| | | | | Jeremy. | ||||
* | Added Michael Sweet's CUPS patch to call directly into the CUPS backend. | Jeremy Allison | 2001-03-16 | 1 | -157/+29 |
| | | | | | | Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. | ||||
* | Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR | Jeremy Allison | 2001-03-11 | 1 | -4/+0 |
| | | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. | ||||
* | include/rpc_spoolss.h: Added JOB_STATUS_XXX defines. | Jeremy Allison | 2001-02-23 | 1 | -50/+50 |
| | | | | | | | | | | | | | include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We need these to be different as we're storing LPQ_xx enums in the tdb already. rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now returning status codes. smbd/lanman.c: Change the RAP status codes to have "RAP" in the name. printing/printing.c: Keep track of the status of a job. Allow a job to be deleted from one smbd when being submitted by another. Made logic in mutex clearer. Jeremy. |