summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison1-0/+5
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit bf795b684e608f82db822e0759e7b69afd451b65)
2003-03-14Fix off by one bug noticed by Andrew Bartlett.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 759aab9944e8dc5c38e224ace738b75ded07ee54)
2003-03-06add #define for the max device name length in a DEVICEMODEGerald Carter1-1/+1
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)
2003-03-05Writable string const fixes.Jeremy Allison1-6/+12
Jeremy. (This used to be commit c832e95c2f4daf175954a60f3c56420cf2f35b45)
2003-03-05Fix for little-used lpq parser.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 75b36459ab1797bdff98ed91d7870bd48adebb54)
2003-03-01Ensure added jobs increment total_jobs.Jeremy Allison1-0/+6
Jeremy. (This used to be commit a75d9fc4e1c26e3ae15a97508f6f1cf69fe54148)
2003-02-25Progress on CR 601Gerald Carter1-152/+214
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2003-02-24Missed one in the previous merge - user_ok() and user_in_group() now takeAndrew Bartlett1-1/+1
an optional list of groups the user is in. (This used to be commit 39f3bec0f62520e49a087403287330ed5f3a79c5)
2003-02-19Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if theJeremy Allison1-9/+14
jobid is below the UNIX_JOB_START number. Jeremy. (This used to be commit 7ec1c8869d3df9af77ff95942beba34f56a06b73)
2003-02-15* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter2-4/+35
* never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504 (This used to be commit ffda9e2480414c7ed6156958f516e0d1f3c61350)
2003-02-14off by one bug in string length; CR 1159Gerald Carter1-1/+1
(This used to be commit aaefa889ad9a065f976275a748be1011d66aa37e)
2003-02-12Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.Andrew Bartlett1-4/+4
Andrew Bartlet (This used to be commit 0809670d0f85405c1e58d7317cc7a6ca67c8ad16)
2003-02-10Cleanups: (merge from HEAD)Andrew Bartlett1-3/+3
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff. - Fix up a possible Realloc() failure segfault Andrew Bartlett (This used to be commit c1cfc296c2efdb2b5972202146e80f0e3b6a3da4)
2003-02-08Ensure we return NOSPACE if we can't fast allocate a print job.Jeremy Allison1-2/+7
Jeremy. (This used to be commit 82cf8aa74794649fb16c336011ca48d549d6abb8)
2003-02-05Collapse duplicate messages before sending.Jeremy Allison1-80/+132
Jeremy. (This used to be commit 105d37474d0be9eea2ea38dc90ceba5a27a7e630)
2003-02-05CUPS patch to log client nameGerald Carter1-0/+4
(This used to be commit d4168c327bc42efc392561aeeef4edd702b3d653)
2003-02-04Hold the lock for a much shorter time when allocating a new jobid.Jeremy Allison1-54/+67
Jeremy. (This used to be commit 62e274abbb0ceec90c97c022fa14d96bdf574121)
2003-02-04Up the hash table size for printing tdb.cJeremy Allison1-1/+1
Jeremy. (This used to be commit 97848f40eec7320c8a06eb0a7df7c1677e41efd8)
2003-02-04Ensure we only ever set fsp->conn in one place.Jeremy Allison1-1/+0
Jeremy. (This used to be commit d8a42753cc1e1a94aa6b816222343e1569521f14)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-4/+4
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
2003-01-30More scalable print tdb fixes.Jeremy Allison1-13/+23
Jeremy. (This used to be commit 7ace900b335e83b447cab63137968806a8e2f4d3)
2003-01-28CUPS-PRINTER_CLASS patch from Michael SweetGerald Carter1-2/+101
(This used to be commit 8d0bde43156f5511df7a5a6865b361ebc2a933eb)
2003-01-15*lots of small merges form HEADGerald Carter2-8/+11
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-14Merge from HEAD:Andrew Bartlett2-2/+2
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-11[merge] make sure to update print queue cache during timeout_processing() to ↵Gerald Carter1-6/+15
send notify events; CR 1491 (This used to be commit f8a915b14d63e4fdb99235053eeb896ef9492068)
2003-01-10Don't delete jobs subitted after the lpq time.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 6cb9f6ccb1fab3ff597f52c931561d52de09e84a)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett3-31/+31
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2-5/+5
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-13Store printer guid in the dsspooler registry key so we don't have toJim McDonough1-72/+178
query the directory server every time someone asks (This used to be commit dd81003bddc17522041e1cd2f0484e1760493e4a)
2002-12-13More printer publishing code.Jim McDonough1-6/+16
- Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it. (This used to be commit d57bddc9b22e809c79294c7eacbd5d0f115fe990)
2002-12-05Fix debugs for rap mapping. Delete job on map fail.Jeremy Allison2-3/+7
Jeremy. (This used to be commit 6eb27e4f0dea6027ba9e041348f066c947e751c6)
2002-12-05More printer data to publishJim McDonough1-33/+89
(This used to be commit 6e2f0c4e304a09313f933a3c9c2a7b3a0219006d)
2002-12-05The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison2-7/+43
jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. (This used to be commit 6c23d2030ab8dddff4c849903c529f0012b94027)
2002-12-04Janitor for tpot yet again... Merging in memory leak fix.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 6ce50ffcda1d6bd17f027d138a985bf93985c016)
2002-12-04Automatic printer publishing when using APW or choosing 'list in the ↵Jim McDonough1-1/+143
directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients. (This used to be commit ca6360e8db30fc9be3fe3718c8b49c92dba5ecac)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter3-4/+0
should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-26This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+204
used to be commit 96535956090c2f6d4d91631b1980ae916dd35316)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter2-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)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter3-279/+326
* 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 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
2002-11-24No need to #include smb.h, when we already #include include.hAndrew Bartlett3-4/+0
(This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-15/+25
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-15/+25
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-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)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-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 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-10First cut of fix for changenotify on a print server handle. Use the ↵Jeremy Allison1-43/+80
connections tdb with an snum of -1 and a special printername. Jeremy. (This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)
2002-11-10First cut of fix for changenotify on a print server handle. Use the ↵Jeremy Allison1-43/+80
connections tdb with an snum of -1 and a special printername. Jeremy. (This used to be commit 06b04380078ad840768a2c5a803f02669f54bc82)
2002-11-10Fix for scalable printing noticed by tpot. Don't loop infinatelyJeremy Allison1-13/+36
when holding a mutex.... :-). Jeremy. (This used to be commit 7e7b40e0fe1302ae416247c70d8d76bd82ec3474)
2002-11-10Fix for scalable printing noticed by tpot. Don't loop infinatelyJeremy Allison1-13/+36
when holding a mutex.... :-). Jeremy. (This used to be commit c206643baaae64cef38f2f74e46337d35a489ca9)
2002-11-07Fix crash bug with overwriting memory.Jeremy Allison1-5/+3
Jeremy. (This used to be commit 9b08b4e4c24290e5d90a7cc2dc442cb82e73df28)
2002-11-07Fix crash bug with overwriting malloced memory.Jeremy Allison1-5/+3
Jeremy. (This used to be commit 3228730c8311ec6507227f8936318b1d965c1228)