summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* Writing decimal constants as "02" has been shown to cause cancer inMartin Pool2001-12-031-1/+1
| | | | | rats. (This used to be commit 142d3dad0ab6870acb0d46d1f189d5e2e1f71b17)
* Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter2001-11-301-1/+1
| | | | | definitions. (This used to be commit 9712d3f15a47155f558d0034ef71fd06afb11301)
* Merge from appliance-head: when creating a default security descriptorTim Potter2001-11-261-1/+11
| | | | | | | | | for a printer, save it in ntprinters.tdb instead of recreating it every time it is required. This can save at least one winbind lookup per secdesc creation. Opening a port monitor and viewing the security tab in the properties dialog required the security descriptor to be returned 25 times! (This used to be commit f85c976acc08a16bce6cb4053708485ccdea0d77)
* added "net join" commandAndrew Tridgell2001-11-241-2/+1
| | | | | this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
* merge oops fix from 2.2Gerald Carter2001-11-221-4/+4
| | | | (This used to be commit 48f2da440f973047faa7ecf031be66bc30d4a985)
* merge from 2.2Gerald Carter2001-11-221-12/+30
| | | | (This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)
* Tidyups when I was doing the big merge...Jeremy Allison2001-11-172-1/+2
| | | | | Jeremy. (This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)
* This is a farily large patch (3300 lines) and reworks most of the AuthRewriteAndrew Bartlett2001-10-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. In particular this assists tpot in some of his work, becouse it provides the connection between the authenticaion and the vuid generation. Major Changes: - Fully malloc'ed structures. - Massive rework of the code so that all structures are made and destroyed using malloc and free, rather than hanging around on the stack. - SAM_ACCOUNT unix uids and gids are now pointers to the same, to allow them to be declared 'invalid' without the chance that people might get ROOT by default. - kill off some of the "DOMAIN\user" lookups. These can be readded at a more appropriate place (probably domain_client_validate.c) in the future. They don't belong in session setups. - Massive introduction of DATA_BLOB structures, particularly for passwords. - Use NTLMSSP flags to tell the backend what its getting, rather than magic lenghths. - Fix winbind back up again, but tpot is redoing this soon anyway. - Abstract much of the work in srv_netlog_nt back into auth helper functions. This is a LARGE change, and any assistance is testing it is appriciated. Domain logons are still broken (as far as I can tell) but other functionality seems intact. Needs testing with a wide variety of MS clients. Andrew Bartlett (This used to be commit f70fb819b2f57bd57232b51808345e2319d52f6c)
* Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.Jeremy Allison2001-10-181-7/+6
| | | | | | Ensure make_conection() can only be called as root. Jeremy. (This used to be commit 8d23a7441b4687458ee021bfe8880558506eddba)
* Optimisation to send only to correct processid.Jeremy Allison2001-10-161-6/+16
| | | | | Jeremy (This used to be commit 3807c747a4522c719fe67b876e4a3bd92bffcf7f)
* very simple asynchronous "lpq" thread patchJean-François Micouleau2001-10-161-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. (This used to be commit 8ef9dff3074e7979579ce66a204e8ec7bf62a587)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-028-16/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison2001-09-261-2/+3
| | | | | Jeremy. (This used to be commit bca6419447e926e51aeecf3e484228f640cecb84)
* move to SAFE_FREE()Simo Sorce2001-09-172-52/+43
| | | | (This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
* Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2001-09-151-41/+9
| | | | | argument. (This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)
* convert more code to use XFILEAndrew Tridgell2001-09-101-13/+13
| | | | (This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-062-4/+4
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-042-119/+124
| | | | | | the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)