Andrew Tridgell
cdd782782f
we can't have two functions with the same name
...
(This used to be commit 5f1cdc4839a1ba0b18bcd4525847f9c284d181ca)
2003-12-04 01:19:03 +00:00
Tim Potter
61a2a79105
Updated some of the function names in the IDL.
...
(This used to be commit 718ee8bccc2357ffa7ea7cdec1bda6103e0fa24f)
2003-12-03 11:31:29 +00:00
Tim Potter
d944b9780a
Added EnumPrinterDriver, GetPrinterDriver (still in progress)
...
(This used to be commit a818439b5915fd70b8aa3d3045f658b3f59a6bea)
2003-11-30 11:57:40 +00:00
Tim Potter
2bb7ff5915
GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.
...
(This used to be commit e8367f57356bc3da78a6217158f9d639ba4ca5fa)
2003-11-28 11:50:33 +00:00
Tim Potter
d55fc1c9f2
Add SetPrinterData, DeletePrinterData.
...
(This used to be commit ea534f82d0620cbda5a960e492ec2fc1702fe975)
2003-11-28 10:34:58 +00:00
Tim Potter
b0ba0462a4
Fix bug in EnumPrinterData test.
...
Implement GetPrinterData RPC.
(This used to be commit 270c4fe389fb67ccbe0b9174267b40738ca43052)
2003-11-28 06:39:06 +00:00
Tim Potter
d419464d87
Added EnumJobs, GetJob, SetJob RPCs.
...
(This used to be commit a06cbbbf1fa1e873bb13bc86d14694b2af791e22)
2003-11-28 05:02:32 +00:00
Tim Potter
abff8aac56
Implemented SetForm RPC.
...
(This used to be commit bdb0dfc370b4deb9e7f5a381092538c3e502f191)
2003-11-27 20:55:13 +00:00
Tim Potter
6aee8274ef
Add DeleteForm, start cleaning up tests.
...
(This used to be commit 10b31623fd421d341787d0769839ea5dca5ae7c0)
2003-11-27 09:50:25 +00:00
Tim Potter
4884a97f3b
Implemented AddForm RPC. The mystery of the useless_ptr has been
...
solved. It was a pointer in a union member.
RPC-SPOOLSS tests a bit messy and could do with a cleanup.
(This used to be commit cf8cd4485261e861b16b98fb918758ff11282f1d)
2003-11-27 06:15:06 +00:00
Tim Potter
ee67d68f1c
Implemented EnumForms and GetForm.
...
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-26 06:26:18 +00:00
Tim Potter
49a85dc890
Spoolss functions return WERROR not NTSTATUS.
...
Start writing idl for forms RPCs.
(This used to be commit 9274ef60b690c334d426dfa815fe472b2da19e2d)
2003-11-25 11:24:49 +00:00
Andrew Tridgell
677fb26deb
* fixed handling of relative subcontext unions
...
* fixed GetPrinter in spoolss after OpenPrinter
(This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22 10:37:00 +00:00
Andrew Tridgell
a465add90f
* changed the way strings are handled in pidl to a much more general
...
interface. We now support an arbitrary set of flags to each parser,
and these can be used to control the string types. I have provided
some common IDL string types in librpc/idl/idl_types.h which needs to
be included in every IDL file.
* added IDL for the endpoint mapper. Added a test suite that enumerates
all endpoints on the server.
(This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21 13:14:17 +00:00
Andrew Tridgell
f01e89e9e0
EnumPrinterData in spoolss now works
...
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-20 01:28:33 +00:00
Andrew Tridgell
66a827c921
* changed to midl syntax using [case(x)] instead of case(x)
...
* use empty defaults instead of a dummy empty structure
(This used to be commit 555a340d3c0697b147799bc0a6615e01e196daf6)
2003-11-20 00:57:59 +00:00
Tim Potter
30daed2f7c
Working on EnumPrinterData. There appears to be an alignment problem
...
after reading a non-empty DATA_BLOB in the reply.
(This used to be commit 3165bf532f6b5a074f20f38a9af56325eedbb1c2)
2003-11-18 05:54:14 +00:00
Andrew Tridgell
d285c6f14f
* add another WERR err code
...
* use the top-level function argument printing to show more detail in
RPC-* tests
(This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-17 11:55:56 +00:00
Andrew Tridgell
e62c5c9a8d
use [subcontext] to make GetPrinter a bit easier in smbtorture
...
(This used to be commit a5140985d8f57695b4165c72af217092da6fae5f)
2003-11-17 09:34:19 +00:00
Andrew Tridgell
59df3ce5b5
security descriptors are no longer a "special" type, they are handled
...
using the [relative] property
this also fixes level3 of PrinterInfo (a relative secdesc)
(This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
2003-11-17 06:27:45 +00:00
Andrew Tridgell
d1feb4c6d5
call OpenPrinterEx on each printer on the server, and then call
...
GetPrinter with all info levels on each printer
(This used to be commit 136b3cfc0460315e924c3d9c8328c1850fc21fba)
2003-11-17 04:56:59 +00:00
Andrew Tridgell
bf48b6e69a
added OpenPrinter and a test function. Note that the Samba3 structure
...
for OpenPrinter was wrong.
(This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
2003-11-17 03:38:13 +00:00
Andrew Tridgell
90916de4a5
* more info levels for EnumPrinter
...
* use WERROR return type in spoolss EnumPrinter
(This used to be commit 8301a6b6ad45f76a42d0fcab6347c187eee615a9)
2003-11-17 02:58:10 +00:00
Andrew Tridgell
657b4d2abd
nicer method of handling spoolss EnumPrinters
...
this also handles the return of several printers (an array of relative
subcontexts)
(This used to be commit 060421c7dc9aa611fe4160843a4f76498ab16bf4)
2003-11-17 02:18:11 +00:00
Andrew Tridgell
ae4cb40100
use nstring and [relative] to support levels 1 and 2 of EnumPrinters
...
fully
(This used to be commit 69c6017c945bdd7d1945f22fcad49112ba6a2d2d)
2003-11-16 13:49:14 +00:00
Andrew Tridgell
ea266c0625
added support for level1 of EnumPrinters in spoolss. This uses a
...
number of "magic" add-ons to IDL to make it less painful, hopefully
this will make IDL generation useful for horrible systems like spoolss
(This used to be commit e18dba7d5a957ef82e8f91733a0bf95d579dcd7a)
2003-11-16 11:36:59 +00:00
Tim Potter
7ca3720acb
Initial version of printer info 1 for tridge.
...
(This used to be commit 03185769be43133df1f6e33b604d9c41c8f2e194)
2003-11-16 06:08:43 +00:00
Tim Potter
6098faca03
Added IDL for EnumPrinters and ClosePrinter.
...
(This used to be commit 5eba47a4a3c01d362d446d1db3c17dcb802c97b0)
2003-11-16 04:19:12 +00:00
Andrew Tridgell
5bd51a1d5d
the returned policy handle in spoolss_OpenPrinterEx() is pass by
...
reference
(tim, my apoligies if this conflicts with an uncomitted fix from you)
(This used to be commit fa0872e66359603a52813af13b45fdaeca98f5d0)
2003-11-15 20:56:18 +00:00
Tim Potter
78b7118d1a
Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
...
works but without a devicemode.
(This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)
2003-11-15 05:42:49 +00:00