summaryrefslogtreecommitdiffstats
path: root/source3/printing/nt_printing.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-091-8/+20
| | | | | | 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-031-1/+1
| | | | | 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)
* ChangeID fixe from APPLIANCE_HEADGerald Carter2001-12-141-9/+37
| | | | (This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)
* 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)
* 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)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-1/+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-171-50/+41
| | | | (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)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-3/+3
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-041-115/+120
| | | | | | the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
* more NTSTATUS/WERROR conversionAndrew Tridgell2001-09-031-5/+5
| | | | (This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
* the next step in our error code handling changeAndrew Tridgell2001-09-031-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)
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-6/+6
| | | | (This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
* get rid of compiler warningsHerb Lewis2001-08-241-1/+1
| | | | (This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-9/+51
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
* Merge in the NT drivers changes from 2.2.Jeremy Allison2001-08-101-399/+642
| | | | | Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)
* Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-101-17/+17
| | | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
* Fixup error returns in updating driver db version.Jeremy Allison2001-07-301-22/+40
| | | | | Jeremy. (This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-3/+3
| | | | | Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
* Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter2001-07-251-4/+4
| | | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
* Fix from Jim Vopni - muliple definitions of "letter".Jeremy Allison2001-07-161-2/+0
| | | | | Jeremy. (This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
* Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter2001-07-121-1/+1
| | | | | have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
* Removed unused local variables.Tim Potter2001-07-101-8/+0
| | | | (This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
* split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookupsJean-François Micouleau2001-07-091-32/+114
| | | | | J.F. (This used to be commit c08e22713ea4ddbc4951dc8dcc40609eb0039ddb)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-13/+13
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-041-7/+1
| | | | | | | | 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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Fixed extra file_free calls - my fault :-(.Jeremy Allison2001-07-021-14/+4
| | | | | Jeremy. (This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
* SGI compiler fixes.Herb Lewis2001-06-261-0/+6
| | | | | Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
* Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison2001-06-221-5/+5
| | | | | | we need to close with close_file(). Jeremy. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
| | | | (This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
* merge from 2.2 (deleteprinterdriver RPC)Gerald Carter2001-05-181-0/+101
| | | | (This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
* Replaced a whole bunch of lookup_name() requests inTim Potter2001-05-101-8/+11
| | | | | | | construct_default_printer_sdb() with checks of the owner rid instead. This should be much faster, work on non-English systems and systems with renamed user or group names. (This used to be commit 8b435b0a2ab1fa060473753fa05f0aba8406b607)
* Merging Gerald's "no printer driver" fix from 2.2.Jeremy Allison2001-05-031-0/+10
| | | | | Jeremy. (This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)
* More debug %d -> %u issues.Jeremy Allison2001-04-271-6/+6
| | | | | Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
* Added per-share security tdb. Tidied up many slprintfs (need -1 on length).Jeremy Allison2001-04-081-38/+39
| | | | | Jeremy. (This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)