summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-22 * fixed null terminated string handlingAndrew Tridgell1-1/+1
* fixed nested relative offsets in push functions the spoolss torture test now passes! (This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)
2003-11-22 * fixed handling of relative subcontext unionsAndrew Tridgell1-2/+2
* fixed GetPrinter in spoolss after OpenPrinter (This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-0/+2
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-20EnumPrinterData in spoolss now worksAndrew Tridgell1-5/+5
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-18cope with no printers returned from EnumPrintersAndrew Tridgell1-0/+5
(This used to be commit 8c49669dbec96df365d1866df24a17c1ff2c6cd0)
2003-11-18Working on EnumPrinterData. There appears to be an alignment problemTim Potter1-0/+45
after reading a non-empty DATA_BLOB in the reply. (This used to be commit 3165bf532f6b5a074f20f38a9af56325eedbb1c2)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell1-1/+4
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18* use the new auto-generated debug code method.Andrew Tridgell1-2/+2
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17 * add another WERR err codeAndrew Tridgell1-1/+1
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-17use [subcontext] to make GetPrinter a bit easier in smbtortureAndrew Tridgell1-15/+5
(This used to be commit a5140985d8f57695b4165c72af217092da6fae5f)
2003-11-17call OpenPrinterEx on each printer on the server, and then callAndrew Tridgell1-75/+161
GetPrinter with all info levels on each printer (This used to be commit 136b3cfc0460315e924c3d9c8328c1850fc21fba)
2003-11-17added OpenPrinter and a test function. Note that the Samba3 structureAndrew Tridgell1-0/+36
for OpenPrinter was wrong. (This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
2003-11-17* more info levels for EnumPrinterAndrew Tridgell1-4/+8
* use WERROR return type in spoolss EnumPrinter (This used to be commit 8301a6b6ad45f76a42d0fcab6347c187eee615a9)
2003-11-17nicer method of handling spoolss EnumPrintersAndrew Tridgell1-15/+19
this also handles the return of several printers (an array of relative subcontexts) (This used to be commit 060421c7dc9aa611fe4160843a4f76498ab16bf4)
2003-11-16use nstring and [relative] to support levels 1 and 2 of EnumPrintersAndrew Tridgell1-27/+37
fully (This used to be commit 69c6017c945bdd7d1945f22fcad49112ba6a2d2d)
2003-11-16added support for level1 of EnumPrinters in spoolss. This uses aAndrew Tridgell1-14/+17
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-16Added tests for EnumPrinters and ClosePrinter.Tim Potter1-6/+72
(This used to be commit 9f3b84c7d7a7e6316b2cc051b01efcfb679534ad)
2003-11-15the returned policy handle in spoolss_OpenPrinterEx() is pass byAndrew Tridgell1-0/+3
reference (tim, my apoligies if this conflicts with an uncomitted fix from you) (This used to be commit fa0872e66359603a52813af13b45fdaeca98f5d0)
2003-11-15Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterExTim Potter1-0/+76
works but without a devicemode. (This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)