Jeremy Allison
331e621b58
Merge of new appliance-head scalable printing fixes.
...
Jeremy.
-
Jeremy Allison
bf795b684e
lib/messages.c: Check return from chainlock before modifying message queue.
...
Apply the job returned limit across all requests for job queues.
Jeremy.
-
Jeremy Allison
759aab9944
Fix off by one bug noticed by Andrew Bartlett.
...
Jeremy.
-
Gerald Carter
52ef84b534
add #define for the max device name length in a DEVICEMODE
-
Jeremy Allison
c832e95c2f
Writable string const fixes.
...
Jeremy.
-
Jeremy Allison
75b36459ab
Fix for little-used lpq parser.
...
Jeremy.
-
Jeremy Allison
a75d9fc4e1
Ensure added jobs increment total_jobs.
...
Jeremy.
-
Gerald Carter
31272d3b6b
Progress on CR 601
...
cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.
Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
-
Andrew Bartlett
39f3bec0f6
Missed one in the previous merge - user_ok() and user_in_group() now take
...
an optional list of groups the user is in.
-
Jeremy Allison
7ec1c8869d
Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
...
jobid is below the UNIX_JOB_START number.
Jeremy.
-
Gerald Carter
ffda9e2480
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
...
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
-
Gerald Carter
aaefa889ad
off by one bug in string length; CR 1159
-
Andrew Bartlett
0809670d0f
Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.
...
Andrew Bartlet
-
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
-
Jeremy Allison
82cf8aa747
Ensure we return NOSPACE if we can't fast allocate a print job.
...
Jeremy.
-
Jeremy Allison
105d37474d
Collapse duplicate messages before sending.
...
Jeremy.
-
Gerald Carter
d4168c327b
CUPS patch to log client name
-
Jeremy Allison
62e274abbb
Hold the lock for a much shorter time when allocating a new jobid.
...
Jeremy.
-
Jeremy Allison
97848f40ee
Up the hash table size for printing tdb.c
...
Jeremy.
-
Jeremy Allison
d8a42753cc
Ensure we only ever set fsp->conn in one place.
...
Jeremy.
-
Jeremy Allison
07efebb984
Add 3 second timeout when terminating server and sending print notify
...
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
-
Jeremy Allison
7ace900b33
More scalable print tdb fixes.
...
Jeremy.
-
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
-
Andrew Bartlett
9b70fa868e
Merge from HEAD:
...
- fstring/pstring mixups
- the detection code that found them (disabled)
- a bit of whitespace
- a static
Andrew Bartlett
-
Gerald Carter
f8a915b14d
[merge] make sure to update print queue cache during timeout_processing() to send notify events; CR 1491
-
Jeremy Allison
6cb9f6ccb1
Don't delete jobs subitted after the lpq time.
...
Jeremy.
-
Andrew Bartlett
3a7458f947
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
-
Jeremy Allison
09a218a9f6
Forward port the change to talloc_init() to make all talloc contexts
...
named. Ensure we can query them.
Jeremy.
-
Jim McDonough
dd81003bdd
Store printer guid in the dsspooler registry key so we don't have to
...
query the directory server every time someone asks
-
Jim McDonough
d57bddc9b2
More printer publishing code.
...
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
-
Jeremy Allison
6eb27e4f0d
Fix debugs for rap mapping. Delete job on map fail.
...
Jeremy.
-
Jim McDonough
6e2f0c4e30
More printer data to publish
-
Jeremy Allison
6c23d2030a
The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
...
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
-
Jeremy Allison
6ce50ffcda
Janitor for tpot yet again... Merging in memory leak fix.
...
Jeremy.
-
Jim McDonough
ca6360e8db
Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
-
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
-
cvs2svn Import User
9653595609
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
-
Gerald Carter
f1062e79de
[print notify fixes from APP_HEAD]
...
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
-
Gerald Carter
256d8c27cd
[print notify fixes from APP_HEAD]
...
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
-
Andrew Bartlett
b3049bb0d0
No need to #include smb.h, when we already #include include.h
-
Jeremy Allison
19f86f1f72
Lots of fixes for error paths where tdb_fetch() data need freeing.
...
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
-
Jeremy Allison
5d5762d178
Lots of fixes for error paths where tdb_fetch() data need freeing.
...
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
-
Jeremy Allison
f755711df8
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Jeremy Allison
82b8f749a3
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Jeremy Allison
940b04ddfa
First cut of fix for changenotify on a print server handle. Use the connections tdb
...
with an snum of -1 and a special printername.
Jeremy.
-
Jeremy Allison
06b0438007
First cut of fix for changenotify on a print server handle. Use the connections tdb
...
with an snum of -1 and a special printername.
Jeremy.
-
Jeremy Allison
7e7b40e0fe
Fix for scalable printing noticed by tpot. Don't loop infinately
...
when holding a mutex.... :-).
Jeremy.
-
Jeremy Allison
c206643baa
Fix for scalable printing noticed by tpot. Don't loop infinately
...
when holding a mutex.... :-).
Jeremy.
-
Jeremy Allison
9b08b4e4c2
Fix crash bug with overwriting memory.
...
Jeremy.
-