summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2002-01-26These changes commited on a 'no less broken' basis.Andrew Bartlett1-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)
2002-01-25Change this code so that we don't do a lookup_name() on root.Andrew Bartlett1-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)
2002-01-25Fixed display of "remote downlevel document" in old print job submissionJeremy Allison1-2/+12
case. Jeremy. (This used to be commit 248770d73072e36fd9812ec5986dce5380dfab33)
2002-01-23merge from 2.2Gerald Carter1-3/+3
(This used to be commit 8ed7c1ffad2df03c66151c1dfe7477301bd3ebad)
2002-01-22merge from 2.2. ofGerald Carter1-20/+19
* PRINTER_ATTRIBUTE's * "default devmode" parameter (This used to be commit 90a7a1840b4823d4ebe047130a95dd15a824500b)
2002-01-14Removed MAXSTATUS which was set incorrectly - thus causing tdb traversalJeremy Allison1-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)
2002-01-11Round and round we go....Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2603ab3c6870f3697751b887e940910713f08985)
2002-01-11Latest attempt at changeid.Jeremy Allison1-4/+5
Jeremy. (This used to be commit 24ee18c77e1b61004d8ed817118a481f3d43e34c)
2002-01-09When re-writing tdb version numbers as little endian int32, we mustJeremy Allison1-15/+18
change the version number also. Jeremy. (This used to be commit 3dec9cf99a82bd15626eb99e7d937ff00183cc05)
2002-01-09Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2-20/+33
in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. (This used to be commit ec71f1732b6b27bd2d65b250a6f3720a235dc38d)
2002-01-08My previous fix had a bug....Jeremy Allison1-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)
2002-01-08Another attempt at getting changeid correct. Jerry / JF please check !Jeremy Allison1-7/+14
This fixes a driver init bug. Jeremy. (This used to be commit 8e8d71816002c634669c0cb0234f7a35281d9cad)
2002-01-08Caught one problem where a BOOL fn was returning 3 different values :-).Jeremy Allison1-11/+12
Roll on defined types :-). Jeremy. (This used to be commit ccf07e2184a93345a51455dd3e9201dee7be70e7)
2002-01-08Added get_called_name() function, which replaces global_myname in printingJeremy Allison1-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)
2002-01-07Return called NetBIOS name if present in preference to global_myname.Jeremy Allison1-5/+9
Should allow print servers to work with NetBIOS aliases. Needs testing. Jeremy. (This used to be commit ee8fd2690a4c8e4ebc5dd3b6e830116806ed5a4b)
2002-01-07Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter1-1/+1
but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
2002-01-03Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2-2/+2
Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
2001-12-29Removed extra lp_adduser() call.Jeremy Allison1-0/+4
Fixed up error returns in get_correct_cversion(). Jeremy. (This used to be commit 7ce2d1fe37d2be26c407f3dc9427851d00ca216a)
2001-12-21Factor out a broadcast_printer_notify() routine.Martin Pool1-7/+17
(This used to be commit d32598c953e7a500f707a02608c44203bc5941ec)
2001-12-18Fixed uninitialised variable warning.Tim Potter1-1/+1
(This used to be commit 5095941dcb312d75c232d15232d5998ca05b632f)
2001-12-14ChangeID fixe from APPLIANCE_HEADGerald Carter1-9/+37
(This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)
2001-12-05Use print_queue_length() by preference if we don't need a queueJeremy Allison1-0/+1
as it doesn't do a traversal. Jeremy. (This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)
2001-12-05Improved efficiency of enumerating print queue's under a particularJeremy Allison1-9/+18
extreme condition... Jeremy. (This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)
2001-12-03Writing decimal constants as "02" has been shown to cause cancer inMartin Pool1-1/+1
rats. (This used to be commit 142d3dad0ab6870acb0d46d1f189d5e2e1f71b17)
2001-11-30Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter1-1/+1
definitions. (This used to be commit 9712d3f15a47155f558d0034ef71fd06afb11301)
2001-11-26Merge from appliance-head: when creating a default security descriptorTim Potter1-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)
2001-11-24added "net join" commandAndrew Tridgell1-2/+1
this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
2001-11-22merge oops fix from 2.2Gerald Carter1-4/+4
(This used to be commit 48f2da440f973047faa7ecf031be66bc30d4a985)
2001-11-22merge from 2.2Gerald Carter1-12/+30
(This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)
2001-11-17Tidyups when I was doing the big merge...Jeremy Allison2-1/+2
Jeremy. (This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)
2001-10-31This is a farily large patch (3300 lines) and reworks most of the AuthRewriteAndrew Bartlett1-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)
2001-10-18Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.Jeremy Allison1-7/+6
Ensure make_conection() can only be called as root. Jeremy. (This used to be commit 8d23a7441b4687458ee021bfe8880558506eddba)
2001-10-16Optimisation to send only to correct processid.Jeremy Allison1-6/+16
Jeremy (This used to be commit 3807c747a4522c719fe67b876e4a3bd92bffcf7f)
2001-10-16very simple asynchronous "lpq" thread patchJean-François Micouleau1-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)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter8-16/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-26Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison1-2/+3
Jeremy. (This used to be commit bca6419447e926e51aeecf3e484228f640cecb84)
2001-09-17move to SAFE_FREE()Simo Sorce2-52/+43
(This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
2001-09-15Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett1-41/+9
argument. (This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)
2001-09-10convert more code to use XFILEAndrew Tridgell1-13/+13
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2-4/+4
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2-119/+124
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell2-16/+16
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-12/+11
- added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-09-02updated copyright for Michael SweetAndrew Tridgell1-1/+1
(This used to be commit 9d53473f302f172c10854b8df3000552918d0637)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-6/+6
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-1/+0
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-24get rid of compiler warningsHerb Lewis1-1/+1
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
2001-08-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter3-8/+8
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-9/+51
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-10Merge in the NT drivers changes from 2.2.Jeremy Allison2-400/+643
Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)