1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

37 Commits

Author SHA1 Message Date
Gerald Carter
3eee00e0d0 r5359: BUG 2333: use the lpq command to pass in the correct printer name for cups_queue_get(). See comments in code for details 2007-10-10 10:55:39 -05:00
Gerald Carter
0ac3c4c5a2 r5012: fix segfault caused by using a ipp_t * after calling cupsDoRequest() 2007-10-10 10:55:11 -05:00
Gerald Carter
15fd4a05ec r4907: remove unreached code 2007-10-10 10:55:07 -05:00
Gerald Carter
f65598b3b0 r4902: please note that cupsDoRequest() deletes the request* so don't call ippDelete(request) *ever* 2007-10-10 10:55:07 -05:00
Jeremy Allison
2afe2a16c9 r4881: Varient of Lar's patch for #2270. Jerry promises to test :-).
Jeremy.
2007-10-10 10:55:06 -05:00
Gerald Carter
1cad525093 r4539: patch from Rob -- adding real printcap name cache function to speed up printcap reloads 2007-10-10 10:53:46 -05:00
Jeremy Allison
620f2e608f r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Gerald Carter
26bbad62b9 r4030: patch from Rob -- don't force the cups printer-make-and-model tag as the comment for autoloaded printers 2007-10-10 10:53:29 -05:00
Gerald Carter
de7af09e72 r3067: patch based on volker's initial work in trunk that fixes the queu update problem when using the background daemon 2007-10-10 10:53:00 -05:00
Volker Lendecke
148dc71ea5 r979: Implement the 'cups server' option. This makes it possible to have virtual
smbd's connect to different cups daemons.

Volker
2007-10-10 10:51:52 -05:00
Gerald Carter
2f323b0991 r242: adding 'cups options' parameter to allow raw printing without changing /etc/cups/cupsd.conf -- documentation to follow 2007-10-10 10:51:15 -05:00
Gerald Carter
5979f4d645 allow users to delete jobs with cups printing backend
The changes the name of the job passed off to cups
from "Test Page" to "smbprn.00000033 Test Page" so that
we can get the smb jobid back from lpq.  Working on bug
770.
-
Gerald Carter
71333299a6 patch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating client name when using CUPS -
Andrew Tridgell
b3e024ce1d a small include file rearrangement that doesn't affect normal
compilation, but that allows Samba3 to take advantage of pre-compiled
headers in gcc if available.
-
Andrew Bartlett
c1cfc296c2 Cleanups: (merge from HEAD)
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings

 - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff.

 - Fix up a possible Realloc() failure segfault

Andrew Bartlett
-
Gerald Carter
d4168c327b CUPS patch to log client name -
Gerald Carter
8d0bde4315 CUPS-PRINTER_CLASS patch from Michael Sweet -
Gerald Carter
0fb724b321 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
-
Tim Potter
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
-
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
John Terpstra
208c62c5a7 Fix ability to compile with CUPS support. -
Jeremy Allison
9148bb9eaa Tidyups when I was doing the big merge...
Jeremy.
-
Tim Potter
2d0922b0ea Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. -
Andrew Tridgell
9d53473f30 updated copyright for Michael Sweet -
Tim Potter
2dbb41a7b8 Fixed detection of CUPS. We need to check for the presence of the cups
header files as well as libcups.
-
Jeremy Allison
61141c371a Merged John's fix.
Jeremy.
-
Simo Sorce
7f33c01688 Change all realloc() statements to Realloc() (ecxept for tdb.c)
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)
-
Jeremy Allison
9444fc554b Same fix for resume as for pause.
Jeremy.i
-
Jeremy Allison
592ef3d8ea Fix for CUPS pause/restart code.
Jeremy.
-
Jeremy Allison
e90ad081ad Fix for cups compile.
Jeremy.
-
Jeremy Allison
34244c2a8d iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
right.
Jeremy.
-
Andrew Tridgell
debb471267 The big character set handling changeover!
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.
-
Jeremy Allison
c0345bbaed Added Michael Sweet's CUPS patch to call directly into the CUPS backend.
Parameterises the printing functions so other backends can be plugged
directly in (this is a good thing :-).
Jeremy.
-
Jeremy Allison
d938ad6963 Excise snprintf -> slprintf.
srv_samr.c: duplicate gid fix.
srv_spoolss_nt.c: Merge of JF's work.
uid.c: Fix for returning names when a PDC.
Jeremy.
-
Jeremy Allison
76b8dd376d file_lines_load/file_lines_pload can now optionally convert unix_to_dos()
on read.
Jeremy.
-
Andrew Tridgell
452776a5a7 printing/print_cups.c from 2.0.6 -