1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

8027 Commits

Author SHA1 Message Date
Andrew Tridgell
7f3f274cdc support the 'default' case in IDL unions -
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
-
Andrew Tridgell
c69161bdb1 * use the new auto-generated debug code method.
* add a couple more info levels to wkssvc
-
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.
-
Andrew Tridgell
1a885e4abe remove an unused variable -
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 :)
-
Andrew Tridgell
33bb878562 * add another WERR err code
* use the top-level function argument printing to show more detail in
   RPC-* tests
-
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
-
Andrew Tridgell
a5140985d8 use [subcontext] to make GetPrinter a bit easier in smbtorture -
Andrew Tridgell
22b5418a53 started documenting the extension to IDL that pidl implements -
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)
-
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
-
Andrew Tridgell
136b3cfc04 call OpenPrinterEx on each printer on the server, and then call
GetPrinter with all info levels on each printer
-
Andrew Tridgell
186ddbbf87 added OpenPrinter and a test function. Note that the Samba3 structure
for OpenPrinter was wrong.
-
Andrew Tridgell
8301a6b6ad * more info levels for EnumPrinter
* use WERROR return type in spoolss EnumPrinter
-
Andrew Tridgell
5832a1447c handle non-NTSTATUS return types -
Andrew Tridgell
060421c7dc nicer method of handling spoolss EnumPrinters
this also handles the return of several printers (an array of relative
subcontexts)
-
Andrew Tridgell
eb887f883a better [relative] handling, allowing for nested relative structures
and arrays of relative structures
-
Andrew Tridgell
69c6017c94 use nstring and [relative] to support levels 1 and 2 of EnumPrinters
fully
-
Andrew Tridgell
4a34a4f29c * the beginnings of non-constant fixed arrays
* added relative pointers support
-
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
-
Andrew Tridgell
fb2f8c6bff added support for "relstr", structure and union properties and public
functions
-
Tim Potter
03185769be Initial version of printer info 1 for tridge. -
Andrew Tridgell
8b2a0988e8 ignore .pidl files -
Andrew Tridgell
05ed2f6dc9 use the "subcontext" magic flag for sec_desc_buf -
Andrew Tridgell
01cc199d78 added the "subcontext" attribute for auto-handling of user-marshalled
sub-context buffers
-
Andrew Tridgell
468c2dc632 slightly more efficient strlen setting in lsa and samr strings (calls
strlen_m() once, not twice)
-
Andrew Tridgell
8b38041f65 fixed the handling of much more general C expressions in value()
statements
-
Tim Potter
1a0271fc34 Commit autogenerated code for EnumPrinters and ClosePrinter. -
Tim Potter
8fcac6742f Added push/pull routines for uint8_buf IDL type used for spoolss buffers,
and possibly other places.
-
Tim Potter
9f3b84c7d7 Added tests for EnumPrinters and ClosePrinter. -
Tim Potter
5eba47a4a3 Added IDL for EnumPrinters and ClosePrinter. -
Andrew Tridgell
67e826923c run the basic build tests on sub-builds like "make torture" as well -
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
-
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)
-
Andrew Tridgell
8b4e5c65e0 remember to samr_Close() policy handles after use -
Andrew Tridgell
2ed8cfdf66 added OpenAlias and QueryAliasInfo levels 1 to 3 -
Andrew Tridgell
ffe4fcaab0 added OpenGroup and QueryGroupInfo levels 1 to 4 -
Andrew Tridgell
bcc87ab8c0 don't encode my own servers name in the test :) -
Andrew Tridgell
b90eff794f added UserInfo level 21 -
Andrew Tridgell
5bbe63a7bb added samr UserInfo levels 4 to 20 -
Andrew Tridgell
5e852f694c added samr_UserInfo2 and samr_UserInfo3 -
Andrew Tridgell
f5b577a2b9 added support for varying conformant arrays (needed for samr
userinfo3)
-
Andrew Tridgell
e7edeec60e added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1 -
Andrew Tridgell
f8d690fb2b added samr_EnumDomainGroups and samr_EnumDomainUsers -
Andrew Tridgell
219cfabaeb added another 11 levels of QueryDomainInfo -
Andrew Tridgell
f38ecd7ff7 fixed alignment of the buffers part structures -
Andrew Tridgell
2d9c055c1b added samr_OpenDomain() and samr_QueryDomainInfo() level 1 -
Andrew Tridgell
947b9f8ced run LookupDomain on each domain returned from EnumDomains in samr -
Andrew Tridgell
c7ddd6b2aa support a new value() attribute that allows us to auto-fill certain
elements. Used at the moment for string lengths.

the regular expression isn't right, but it works for the case I need.
Perl expert needed :)
-