Jeremy Allison
43ca6e3ef8
Merge in the change to do per-handle access checks on setdata/setform etc.
...
Should allow the buggy spoolss code on NT to work against us.
Jeremy.
(This used to be commit 2b3609a7dd55d96f5aafe137fff1ac2da0434867)
2002-03-07 01:02:48 +00:00
Jeremy Allison
2ff9390245
Fixup the sending of printer change messages from job changes.
...
Jeremy.
(This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
2002-02-26 03:12:09 +00:00
Tim Potter
2f8452fd49
Merge of printing performance fixes from appliance.
...
(This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)
2002-02-25 23:18:05 +00:00
Gerald Carter
5dbe33e3ee
merge from 2.2
...
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)
2002-02-21 17:30:58 +00:00
Gerald Carter
84b18178a9
merge from 2.2
...
(This used to be commit 63ab947fd9dd17a4c370402e74b389458bbd3a60)
2002-02-21 00:55:01 +00:00
Gerald Carter
cef4f9215f
merge from 2.2
...
(This used to be commit 25fb4a8d110bcdcbe7822a833cab9cfdec8a1fb2)
2002-02-20 23:36:23 +00:00
Gerald Carter
83bc6cdd55
merge from APPLIANCE_HEAD
...
(This used to be commit 696d439515016e4c2bc5ad085e443abe43c95136)
2002-02-15 18:59:34 +00:00
Gerald Carter
1f6df6c9ce
merge from 2.2
...
(This used to be commit e18a7c26476e05f95850ac2bbeb42c2588115741)
2002-02-12 22:31:18 +00:00
Gerald Carter
51e205c92a
merge from 2.2
...
(This used to be commit 09fc979172327d6396642e824f6d482c6f986850)
2002-02-12 19:16:14 +00:00
Jeremy Allison
03cfb31ad9
Bring printing in HEAD inline with 2.2.x and app-head.
...
Jeremy.
(This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef)
2002-02-09 04:10:24 +00:00
Tim Potter
8fff9a4b9e
Added administrator access check for server side add, delete and setform
...
rpcs. The only one I have been able to verify is addform - can't get the
client side routines working properly yet. )-:
(This used to be commit 3cd97d65dea428382104ebde63eaf660aa3942fb)
2002-01-31 11:44:00 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Gerald Carter
485b4ff5ec
merge from APPLIANCE_HEAD
...
(This used to be commit e3b87ffc8c26f9fd4c3e8181897b8812b7dc4ab6)
2002-01-26 22:27:12 +00:00
Jeremy Allison
5b0dca4998
Fixed ADDPRINTEREX to take a devmode and a security descriptor...
...
Jeremy.
(This used to be commit 27f65b3aad13ecd33bbb84048d70e3dde212f278)
2002-01-26 01:20:38 +00:00
Jeremy Allison
b3e5d34171
Make systemtime work for spooling on bigendian systems. Fix from
...
Benjamin (Bj) Kuit bj@it.uts.edu.au .
Jeremy.
(This used to be commit 5f4de275a3a63a95e76d077ffc94321a078833bf)
2002-01-25 18:27:40 +00:00
Tim Potter
f0fe8ff18a
Sync up startpageprinter with appliance.
...
(This used to be commit 6025ab201aa34bbf4a7e897149ef6ba370a89703)
2002-01-23 11:47:19 +00:00
Jeremy Allison
1182b7cd8c
Merge of fixes from 2.2.
...
Jeremy.
(This used to be commit 6406a42d012184f5289d4a2b1c07a55556635fe4)
2002-01-22 19:45:17 +00:00
Andrew Bartlett
bb6af711b8
This is the current patch from Luke Leighton <lckl@samba-tng.org> to add a
...
degree of seperation betwen reading/writing the raw NamedPipe SMB packets
and the matching operations inside smbd's RPC components.
This patch is designed for no change in behaviour, and my tests hold that to be
true. This patch does however allow for the future loadable modules interface
to specify function pointers in replacement of the fixed state.
The pipes_struct has been split into two peices, with smb_np_struct taking the
information that should be generic to where the data ends up.
Some other minor changes are made: we get another small helper function in
util_sock.c and some of the original code has better failure debugs and
variable use. (As per on-list comments).
Andrew Bartlett
(This used to be commit 8ef13cabdddf58b741886782297fb64b2fb7e489)
2002-01-20 02:40:05 +00:00
Jeremy Allison
5fa0da0ba5
Missing assign fix from Bernt Nilsson bkn@ida.liu.se.
...
Jeremy.
(This used to be commit adf24a90e8b4d970d71fa8a6854edcf6deff9688)
2002-01-15 16:20:25 +00:00
Jeremy Allison
c9d350a736
Added PRINTER_INFO_4/PRINTER_INFO_5, we're seeing level 5 requested on the wire... so.
...
Jeremy.
(This used to be commit b63b76297835ab8227b98925fa8120ffce1a37d9)
2002-01-12 02:37:54 +00:00
Jeremy Allison
1d40138232
Round and round we go....
...
Jeremy.
(This used to be commit 2603ab3c6870f3697751b887e940910713f08985)
2002-01-11 23:33:12 +00:00
Jeremy Allison
4702494dce
Added get_called_name() function, which replaces global_myname in printing
...
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-08 00:46:56 +00:00
Martin Pool
bf65820af2
Add an output parameter to message_send_all that says how many
...
messages were sent, so you know how many replies to expect.
Const and doc religion.
(This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
2001-12-21 00:37:49 +00:00
Gerald Carter
abcd1cad3a
ChangeID fixe from APPLIANCE_HEAD
...
(This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)
2001-12-14 20:38:04 +00:00
Tim Potter
14d7f43590
FALSE -> False
...
(This used to be commit dbdbf7cd077a8a20610ee2c62240170b420ebe6c)
2001-12-14 04:43:31 +00:00
Gerald Carter
4ad930ad5e
merge from appliance_head
...
(This used to be commit 423554fd71b3c9718fc3a21006da9ce6371fc845)
2001-12-13 16:35:43 +00:00
Tim Potter
4f53486d78
Added client and server code for the GetPrintProcessorDirectory SPOOLSS
...
rpc. This was supposed to fix a printer driver download bug but it didn't
but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed
out in case someone needs it one day.
(This used to be commit bef43656471741c6c10b12e7516c15de9ae76394)
2001-12-10 05:03:17 +00:00
Jeremy Allison
105f8a1a0f
Use print_queue_length() by preference if we don't need a queue
...
as it doesn't do a traversal.
Jeremy.
(This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)
2001-12-05 02:11:03 +00:00
Jeremy Allison
5472638730
Improved efficiency of enumerating print queue's under a particular
...
extreme condition...
Jeremy.
(This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)
2001-12-05 00:54:33 +00:00
Gerald Carter
9cc8cb5134
merge from APPLIANCE_HEAD
...
(This used to be commit f8b18b25944135c196c8134100f601e84c583382)
2001-11-30 20:33:35 +00:00
Jeremy Allison
605248abd9
Check error returns.
...
Jeremy.
(This used to be commit fc8638e89effb0ebf2e40cee8cd0d7467e49e2a8)
2001-11-30 03:45:21 +00:00
Jeremy Allison
445ab75ec3
Gerald's fix.
...
Jeremy
(This used to be commit b0c1fcfc8bae83788c7595931321833bf177ec4b)
2001-11-30 03:38:59 +00:00
Tim Potter
6d9adfe73c
Renamed sid field in SEC_ACE to trustee to be more in line with MS's
...
definitions.
(This used to be commit 9712d3f15a47155f558d0034ef71fd06afb11301)
2001-11-30 01:04:15 +00:00
Gerald Carter
bd8e916cb5
merge from APPLIANCE_HEAD
...
(This used to be commit c60aa6c06f376684b6d6d9a2c14305ca9f4657ef)
2001-11-28 21:51:11 +00:00
Jeremy Allison
d919314390
Added PRINTER_ALREADY_EXISTS error check from Gerry.
...
Jeremy
(This used to be commit c7f1d3d6f776da8619f1221d38619d084ffb990b)
2001-11-27 20:01:23 +00:00
Gerald Carter
59b2e772e2
remove unused variables
...
(This used to be commit 90ed3d47e16a511161532f75b98db3f4b10ba685)
2001-11-22 06:44:05 +00:00
Gerald Carter
116740a5df
merge from 2.2
...
(This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)
2001-11-22 05:56:09 +00:00
Tim Potter
06ff349e21
FALSE -> False
...
(This used to be commit 7c6529c081abe051055be5fbf3016fbea2474752)
2001-11-15 05:26:22 +00:00
Tim Potter
7623cec4ad
Wrote some stubs for new win2k only spoolss rpc commands:
...
GetPrinterDataEx() and SetPrinterDataEx(). Not sure what the command
number is for the latter is - I haven't seen it on the wire yet.
(This used to be commit 87614c74b3d66cf2ca706b33e6cf0a32b4166e7a)
2001-11-05 06:15:02 +00:00
Jean-François Micouleau
375dcb9a8b
Fix some unicode string error.
...
I'm wondering if I have to audit *all* the rpc code for that kind of
trouble ;-) Oh well I've done it twice already, I can do it a third time
;-)
J.F.
(This used to be commit 6be8ea28f98d71e04de18b317f4d7a99b55209e8)
2001-10-16 22:42:24 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-10-02 04:29:50 +00:00
Simo Sorce
87945989c0
move to SAFE_FREE()
...
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-17 10:26:23 +00:00
Gerald Carter
bd7595ec37
merge from appliance_head
...
(This used to be commit f70b1707e42b3f7aaa38cc5637fcc5cbcdd5a26a)
2001-09-14 15:22:49 +00:00
Gerald Carter
cae476a1a2
cut-n-paste error
...
(This used to be commit b2ed211df0cad2013fd8ff67f48bf73962cc1d39)
2001-09-10 19:30:34 +00:00
Gerald Carter
c113b5196f
merge from APPLIANCE_HEAD
...
(This used to be commit 55bd514c4576a273dac1ac5c37207a96b41f6572)
2001-09-10 19:29:00 +00:00
Andrew Tridgell
b04933dfbb
a fix for fussy compilers
...
(This used to be commit 78f437b5073207606b23be42960e2b10f785a148)
2001-09-04 11:18:50 +00:00
Andrew Tridgell
19fea3242c
the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work
...
(This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-04 07:13:01 +00:00
Andrew Tridgell
fbc1f326f4
more NTSTATUS/WERROR conversion
...
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03 10:38:13 +00:00
Andrew Tridgell
fd6ea43161
the next step in our error code handling change
...
- 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-03 08:50:59 +00:00
Andrew Tridgell
b031af348c
converted another bunch of stuff to NTSTATUS
...
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27 19:46:22 +00:00