summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-08-10Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2-26/+26
emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
2001-08-10Fixed typo in patch.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
2001-08-09Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison1-0/+13
Jeremy. (This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
2001-08-09Merged John's fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 61141c371ae160f03c2259e2dbc0910e63890275)
2001-08-08Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce1-6/+6
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
2001-07-30Fixup error returns in updating driver db version.Jeremy Allison1-22/+40
Jeremy. (This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-4/+4
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-23Same fix for resume as for pause.Jeremy Allison1-1/+2
Jeremy.i (This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
2001-07-23Fix for CUPS pause/restart code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
2001-07-23Fix for cups compile.Jeremy Allison1-16/+17
Jeremy. (This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)
2001-07-17iFix from "Shahms E. King" <shahms@shahms.com> to get cups user nameJeremy Allison1-6/+6
right. Jeremy. (This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
2001-07-16Fix for incorrect creation of print job names, based on a patch byJeremy Allison1-2/+2
José M.Rodríguez <josemi@iies.es> Jeremy. (This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)
2001-07-16Fix from Jim Vopni - muliple definitions of "letter".Jeremy Allison1-2/+0
Jeremy. (This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
2001-07-12Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter1-1/+1
have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
2001-07-10Removed unused local variables.Tim Potter1-8/+0
(This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
2001-07-09split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookupsJean-François Micouleau1-32/+114
J.F. (This used to be commit c08e22713ea4ddbc4951dc8dcc40609eb0039ddb)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell5-40/+40
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell6-35/+13
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)
2001-07-02Fixed extra file_free calls - my fault :-(.Jeremy Allison1-14/+4
Jeremy. (This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
2001-06-28Properly instrument print_job_start()/print_job_end() so every fail caseJeremy Allison1-4/+20
logs a debug. We need this to track fail cases. Jeremy (This used to be commit fe5cac150d7491a7dfdaf2a54998178bbfe5a303)
2001-06-26SGI compiler fixes.Herb Lewis1-0/+6
Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
2001-06-22Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison1-5/+5
we need to close with close_file(). Jeremy. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell2-2/+2
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-05-18merge from 2.2 (deleteprinterdriver RPC)Gerald Carter1-0/+101
(This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
2001-05-10Replaced a whole bunch of lookup_name() requests inTim Potter1-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)
2001-05-03Merging Gerald's "no printer driver" fix from 2.2.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)
2001-04-27More debug %d -> %u issues.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
2001-04-18Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison2-18/+9
Jeremy. (This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
2001-04-14configure:Jeremy Allison2-16/+8
configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy. (This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-23/+4
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-13As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison1-11/+20
be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
2001-04-10Fixed missing HAVE_STDARG_H.Jeremy Allison1-4/+20
Jeremy. (This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-10/+10
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)