summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
* Added Martin's lpq parse fixes from 2.2.Jeremy Allison2002-04-191-20/+12
| | | | | Jeremy. (This used to be commit 3853234c2649c501e9876f940f802be86cb6383d)
* When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).Jeremy Allison2002-04-191-2/+2
| | | | | Jeremy. (This used to be commit 9209d8e718e860e6a58937376cbb437b6b7adbbb)
* Merge of print server permission handling fixes from HEAD.Tim Potter2002-04-151-0/+16
| | | | | Unit tests rock! (This used to be commit bc673c42045ceb46d9569bc4d88f9c64897fc85a)
* when background printing wasn't enabled printing was completely brokenAndrew Tridgell2002-04-131-1/+4
| | | | | as the pid was 0 (This used to be commit f16033635f5125758a3d2c3b0780d5bd2bd7bdbd)
* removed unnecessary memsetGerald Carter2002-04-111-2/+1
| | | | (This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)
* specversion merge from SAMBA_2_2Gerald Carter2002-04-111-0/+2
| | | | (This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-1/+1
| | | | (This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
* Ensure we don't do lp_servicename()'s in tdb traverse as thisJeremy Allison2002-03-201-5/+7
| | | | | | allocates lots of memory. Jeremy. (This used to be commit fbc8c6a1096ec829f48b403239f105065bf155b1)
* Print queue entries *must* have queue names, not numbers - numbers areJeremy Allison2002-03-201-7/+30
| | | | | | | not identical between different smbds (mr potter, come here and take your medicine.... :-). Jeremy. (This used to be commit 230941d2fbb746d39c00e482e7f600c68aa45efa)
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-201-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)
* Merge JohnR's fix.Jeremy Allison2002-03-191-5/+10
| | | | | Jeremy. (This used to be commit d5fd1fd859cec3076d2f01ed234314ea8d80a753)
* Merge in JohnR's page count fixes.Jeremy Allison2002-03-191-4/+31
| | | | | Jeremy. (This used to be commit 2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
* Fix ability to compile with CUPS support.John Terpstra2002-03-171-2/+2
| | | | (This used to be commit 208c62c5a7bca68f223b5832d7971c3d38cb6820)
* Added dos_errstr() function. Not all errors in list yet.Tim Potter2002-03-171-1/+1
| | | | (This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
* syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2002-03-153-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)
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
| | | | (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
* Backed out enumprinters stuff - leave it for another day.Tim Potter2002-03-141-1/+3
| | | | (This used to be commit d7efc5dd3dd712e7138b5c79eea9756125757175)
* Merge of enumprinters vs getprinter naming patch from 2.2Tim Potter2002-03-121-6/+8
| | | | (This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)
* Fix for machines that have their time changed forward, then back. EnsureJeremy Allison2002-03-071-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)
* Fix from JohnR - Fixed SetPrinterData(magic key) to support zero length ↵Jeremy Allison2002-02-271-1/+1
| | | | | | | DEVMODE as is the case with the Okidata Okipage 20 PCLXL Advanced printer driver. (This used to be commit 51c3d3536335a72aa264e3f4d62515f5c0b6d192)
* FIXME: Use next_token rather than strtok!Martin Pool2002-02-261-0/+1
| | | | (This used to be commit d56b8a30c5ca55b718ad706875aa6579a48a0768)
* Fixup the sending of printer change messages from job changes.Jeremy Allison2002-02-261-17/+21
| | | | | Jeremy. (This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
* Merge of printing performance fixes from appliance.Tim Potter2002-02-251-6/+6
| | | | (This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)
* merge from 2.2Gerald Carter2002-02-191-2/+2
| | | | (This used to be commit 9e96cbe24149c8d0ed4f3a1f1d5ea736ba5dca56)
* Bring printing in HEAD inline with 2.2.x and app-head.Jeremy Allison2002-02-091-124/+230
| | | | | Jeremy. (This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef)
* Removed version number from file header.Tim Potter2002-01-307-14/+7
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* merge from APPLIANCE_HEADGerald Carter2002-01-261-35/+1
| | | | (This used to be commit e3b87ffc8c26f9fd4c3e8181897b8812b7dc4ab6)
* These changes commited on a 'no less broken' basis.Andrew Bartlett2002-01-261-7/+5
| | | | | | | | | | | | | | | | | | The previous code attempted to call winbind to find out the domain sid. This couldn't work for a number of reasons - not the least of which was that both the client and server ends would reject any name (in this case domain name) without a \ in it (or lp_winbind_seperator()). I think this is what was intended to occour. If there is still some need to contact winbind for this information, I suggest a new call be created for this - as it the server-side code doesn't allow for this information to be extracted easily in any case. Finally, it gets in the way of the default domain code a bit - hence why I was actually looking at it... Andrew Bartlett (This used to be commit 5fe1ea7f11a314a42f867a4f159c1c63c516568f)
* Change this code so that we don't do a lookup_name() on root.Andrew Bartlett2002-01-251-11/+3
| | | | | | | | | | | | This matches the lookup failure case in 2.2, and seems to make more sense than giving the printer to 'world'. (Avoiding this lookup makes some of my other changes - including winbind default domains - a little easier). In any case, tpot has promised to look at this and test it when he gets back to work. :-) Andrew Bartlett (This used to be commit f0137ac126f782e83ed15d8e905def708cdb6c64)
* Fixed display of "remote downlevel document" in old print job submissionJeremy Allison2002-01-251-2/+12
| | | | | | case. Jeremy. (This used to be commit 248770d73072e36fd9812ec5986dce5380dfab33)
* merge from 2.2Gerald Carter2002-01-231-3/+3
| | | | (This used to be commit 8ed7c1ffad2df03c66151c1dfe7477301bd3ebad)
* merge from 2.2. ofGerald Carter2002-01-221-20/+19
| | | | | | * PRINTER_ATTRIBUTE's * "default devmode" parameter (This used to be commit 90a7a1840b4823d4ebe047130a95dd15a824500b)
* Removed MAXSTATUS which was set incorrectly - thus causing tdb traversalJeremy Allison2002-01-141-5/+3
| | | | | | | of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy. (This used to be commit 5b2b9c25af28543e67762805d1387524cbb6c39d)
* Round and round we go....Jeremy Allison2002-01-111-1/+1
| | | | | Jeremy. (This used to be commit 2603ab3c6870f3697751b887e940910713f08985)
* Latest attempt at changeid.Jeremy Allison2002-01-111-4/+5
| | | | | Jeremy. (This used to be commit 24ee18c77e1b61004d8ed817118a481f3d43e34c)
* When re-writing tdb version numbers as little endian int32, we mustJeremy Allison2002-01-091-15/+18
| | | | | | change the version number also. Jeremy. (This used to be commit 3dec9cf99a82bd15626eb99e7d937ff00183cc05)
* Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2002-01-092-20/+33
| | | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. (This used to be commit ec71f1732b6b27bd2d65b250a6f3720a235dc38d)
* My previous fix had a bug....Jeremy Allison2002-01-081-6/+11
| | | | | | | | | This is SO NASTY as some drivers need this to change, others need it static. This value will change every second, and I must hope that this is enough..... DON'T CHANGE THIS CODE WITHOUT A TEST MATRIX THE SIZE OF UTAH ! Jeremy. (This used to be commit 9fb780d951babeaf5f5b82903c717ff5ccf831cd)
* Another attempt at getting changeid correct. Jerry / JF please check !Jeremy Allison2002-01-081-7/+14
| | | | | | This fixes a driver init bug. Jeremy. (This used to be commit 8e8d71816002c634669c0cb0234f7a35281d9cad)
* Caught one problem where a BOOL fn was returning 3 different values :-).Jeremy Allison2002-01-081-11/+12
| | | | | | Roll on defined types :-). Jeremy. (This used to be commit ccf07e2184a93345a51455dd3e9201dee7be70e7)
* Added get_called_name() function, which replaces global_myname in printingJeremy Allison2002-01-081-10/+4
| | | | | | | code (one less global, hurrah !) - to allow NetBIOS aliasing to be used with point and print. Jeremy. (This used to be commit 10d72f0b01e5950c667f3f73dff1b4da5b675ea3)
* Return called NetBIOS name if present in preference to global_myname.Jeremy Allison2002-01-071-5/+9
| | | | | | | Should allow print servers to work with NetBIOS aliases. Needs testing. Jeremy. (This used to be commit ee8fd2690a4c8e4ebc5dd3b6e830116806ed5a4b)
* Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter2002-01-071-1/+1
| | | | | but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
* Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2002-01-032-2/+2
| | | | | Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
* Removed extra lp_adduser() call.Jeremy Allison2001-12-291-0/+4
| | | | | | Fixed up error returns in get_correct_cversion(). Jeremy. (This used to be commit 7ce2d1fe37d2be26c407f3dc9427851d00ca216a)
* Factor out a broadcast_printer_notify() routine.Martin Pool2001-12-211-7/+17
| | | | (This used to be commit d32598c953e7a500f707a02608c44203bc5941ec)
* Fixed uninitialised variable warning.Tim Potter2001-12-181-1/+1
| | | | (This used to be commit 5095941dcb312d75c232d15232d5998ca05b632f)
* ChangeID fixe from APPLIANCE_HEADGerald Carter2001-12-141-9/+37
| | | | (This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)
* Use print_queue_length() by preference if we don't need a queueJeremy Allison2001-12-051-0/+1
| | | | | | as it doesn't do a traversal. Jeremy. (This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)
* Improved efficiency of enumerating print queue's under a particularJeremy Allison2001-12-051-9/+18
| | | | | | extreme condition... Jeremy. (This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)