Andrew Tridgell
5bbeaaa3d1
added samr_QuerySecurity() call that displays the ACL for any handle.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
16ffeb7c80
use the auto-generated UUID, version and name rather than listing them
...
in the dcerpc core code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8d9d620e10
remove some old junk from the Makefile
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cdba426e62
auto-generate the pipe UUID version and name
0001-01-01 00:00:00 +00:00
Andrew Tridgell
62d7e9819c
fill in skeletons for the rest of the function calls in wkssvc (based
...
on function names in ethereal)
implement TransportEnum - quite a cute call, you can ask for the
workstations list of network transports, including its ethernet
address.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7f3f274cdc
support the 'default' case in IDL unions
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1b691927ac
ignore c and h files in the idl dir. This makes it easier to
...
experiment with pidl in that dir without mucking up cvs
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c69161bdb1
* use the new auto-generated debug code method.
...
* add a couple more info levels to wkssvc
0001-01-01 00:00:00 +00:00
Andrew Tridgell
db74a03d15
auto-generate top-level debug print functions when a flag is set on
...
the dcerpc pipe. This saves lots of code in each test suite.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1a885e4abe
remove an unused variable
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3305226140
added wkssvc.idl and test code
...
I think this is our first complete pipe for Samba4 (albeit a simple
one). Of course, there may be lots more info levels that Samba3 didn't
do. Time to explore :)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
33bb878562
* add another WERR err code
...
* use the top-level function argument printing to show more detail in
RPC-* tests
0001-01-01 00:00:00 +00:00
Andrew Tridgell
6afc3a465e
auto-generate functions for printing top-level function
...
parameters. You can choose to print just the [in] parameters, just the
[out] parameters or both
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a5140985d8
use [subcontext] to make GetPrinter a bit easier in smbtorture
0001-01-01 00:00:00 +00:00
Andrew Tridgell
22b5418a53
started documenting the extension to IDL that pidl implements
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d5a15257fd
security descriptors are no longer a "special" type, they are handled
...
using the [relative] property
this also fixes level3 of PrinterInfo (a relative secdesc)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
08df20c8be
* support inline arrays
...
* add enough to allow security descriptors to be IDL described
* added "noprint" property to allow fancy printing for specific
functions
0001-01-01 00:00:00 +00:00
Andrew Tridgell
136b3cfc04
call OpenPrinterEx on each printer on the server, and then call
...
GetPrinter with all info levels on each printer
0001-01-01 00:00:00 +00:00
Andrew Tridgell
186ddbbf87
added OpenPrinter and a test function. Note that the Samba3 structure
...
for OpenPrinter was wrong.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8301a6b6ad
* more info levels for EnumPrinter
...
* use WERROR return type in spoolss EnumPrinter
0001-01-01 00:00:00 +00:00
Andrew Tridgell
5832a1447c
handle non-NTSTATUS return types
0001-01-01 00:00:00 +00:00
Andrew Tridgell
060421c7dc
nicer method of handling spoolss EnumPrinters
...
this also handles the return of several printers (an array of relative
subcontexts)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
eb887f883a
better [relative] handling, allowing for nested relative structures
...
and arrays of relative structures
0001-01-01 00:00:00 +00:00
Andrew Tridgell
69c6017c94
use nstring and [relative] to support levels 1 and 2 of EnumPrinters
...
fully
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4a34a4f29c
* the beginnings of non-constant fixed arrays
...
* added relative pointers support
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e18dba7d5a
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fb2f8c6bff
added support for "relstr", structure and union properties and public
...
functions
0001-01-01 00:00:00 +00:00
Tim Potter
03185769be
Initial version of printer info 1 for tridge.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8b2a0988e8
ignore .pidl files
0001-01-01 00:00:00 +00:00
Andrew Tridgell
05ed2f6dc9
use the "subcontext" magic flag for sec_desc_buf
0001-01-01 00:00:00 +00:00
Andrew Tridgell
01cc199d78
added the "subcontext" attribute for auto-handling of user-marshalled
...
sub-context buffers
0001-01-01 00:00:00 +00:00
Andrew Tridgell
468c2dc632
slightly more efficient strlen setting in lsa and samr strings (calls
...
strlen_m() once, not twice)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8b38041f65
fixed the handling of much more general C expressions in value()
...
statements
0001-01-01 00:00:00 +00:00
Tim Potter
1a0271fc34
Commit autogenerated code for EnumPrinters and ClosePrinter.
0001-01-01 00:00:00 +00:00
Tim Potter
8fcac6742f
Added push/pull routines for uint8_buf IDL type used for spoolss buffers,
...
and possibly other places.
0001-01-01 00:00:00 +00:00
Tim Potter
9f3b84c7d7
Added tests for EnumPrinters and ClosePrinter.
0001-01-01 00:00:00 +00:00
Tim Potter
5eba47a4a3
Added IDL for EnumPrinters and ClosePrinter.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
67e826923c
run the basic build tests on sub-builds like "make torture" as well
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ab5939e796
simple method for auto-building rpc files if idl changes, and
...
auto-building proto.h if it doesn't exist. This should make life a
little easier for developers
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fa0872e663
the returned policy handle in spoolss_OpenPrinterEx() is pass by
...
reference
(tim, my apoligies if this conflicts with an uncomitted fix from you)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8b4e5c65e0
remember to samr_Close() policy handles after use
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2ed8cfdf66
added OpenAlias and QueryAliasInfo levels 1 to 3
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ffe4fcaab0
added OpenGroup and QueryGroupInfo levels 1 to 4
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bcc87ab8c0
don't encode my own servers name in the test :)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b90eff794f
added UserInfo level 21
0001-01-01 00:00:00 +00:00
Andrew Tridgell
5bbe63a7bb
added samr UserInfo levels 4 to 20
0001-01-01 00:00:00 +00:00
Andrew Tridgell
5e852f694c
added samr_UserInfo2 and samr_UserInfo3
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f5b577a2b9
added support for varying conformant arrays (needed for samr
...
userinfo3)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e7edeec60e
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f8d690fb2b
added samr_EnumDomainGroups and samr_EnumDomainUsers
0001-01-01 00:00:00 +00:00