1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

26 Commits

Author SHA1 Message Date
Andrew Tridgell
d2665f36a7 * 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.
-
Tim Potter
c8b87f5feb Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey. -
Tim Potter
99fff7b1e2 Add initial work on eventlog - doesn't quite work yet. -
Andrew Tridgell
683259a4dd * fixed libndr.h header
* "make clean" now removed the generated files
-
Tim Potter
2740584867 Added ATSVC pipe. -
Andrew Tridgell
f8397cbc85 added samr_LookupNames() and test code -
Andrew Tridgell
7b5d028729 switched to a new way of handling unions, so that we can handle
alignment correctly for unions that have non-uint16 discriminants

fixed the union handling in srvsvc.idl. (metze, please take a look at
the changes, your IDL did match what was one the wire in most cases,
but isn't the way IDL is usually coded)
-
Andrew Tridgell
54d3cb22dc srvsvc IDL and test code from metze. Thanks! -
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
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
8301a6b6ad * more info levels for EnumPrinter
* use WERROR return type in spoolss EnumPrinter
-
Andrew Tridgell
060421c7dc nicer method of handling spoolss EnumPrinters
this also handles the return of several printers (an array of relative
subcontexts)
-
Andrew Tridgell
69c6017c94 use nstring and [relative] to support levels 1 and 2 of EnumPrinters
fully
-
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
5e852f694c added samr_UserInfo2 and samr_UserInfo3 -
Andrew Tridgell
7c162eaf3b added the first couple of calls from samr as IDL
samr_EnumDomains() works nicely
-
Tim Potter
35e889cf33 Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
works but without a devicemode.
-
Andrew Tridgell
1f93cbc1d5 added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
also adding printing of security descriptors
-
Andrew Tridgell
095ab42cbd * fixed conformant arrays in structures
* expanded the rpcecho test

* started adding the NETDFS pipe
-
Andrew Tridgell
2cc354bd82 lsa_PrivilegeSet seems to be a very strange beast indeed. It has a
constant sized array of size 1 at the end?
-
Andrew Tridgell
b2ced24fc0 added 9 more info levels to lsa_QueryInfoPolicy -
Andrew Tridgell
e81040a902 start using automatic union printing -
Andrew Tridgell
81d6181172 automatically generate ndr_print_*() functions for every IDL
structure. This allows easy debug and test tool writing without having
to write functions that print every element of complex structures.
-
Andrew Tridgell
3983b2aee7 - corrected some lsa idl
- updated lsa parse code from pidl
-
Andrew Tridgell
6b222d3b65 another major bit of restructuring of rpc in Samba4. Mostly moving
files around, but also added the first bits of auto-generated code for
the lsa pipe.

I haven't updated the Makefile to call pidl yet, so for now the code
was cut-and-pasted into librpc/ndr/ndr_lsa.c manually
-