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

6418 Commits

Author SHA1 Message Date
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 :)
-
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.
-
Tim Potter
4a6f192ff8 Fix bug in generation of function ndr_pull code generation. This patch
makes the code symmetric with the ndr_push code.
-
Andrew Tridgell
1f93cbc1d5 added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
also adding printing of security descriptors
-
Andrew Tridgell
f0a8f063a6 it turns out that all MS servers ignore the artifact struct_len fields
in OpenPolicy and OpenPolicy2, so we don't in fact need the
[struct_len] attribute. This makes our IDL much closer to the MS IDL.
-
Andrew Tridgell
638eae6bae added the dfs_GetInfo all - all levels -
Andrew Tridgell
e66daf5273 * make pidl.pl exit with an error on a parse error
* fixed a buffers/scalars bug in structures
-
Andrew Tridgell
9ad28f6ddb * added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
properly, I'm still investigating that.

* changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT,
  which I think is a better mapping
-
Andrew Tridgell
3fa61c1982 * fixed lsa_LookupPrivName
* added levels 2 and 3 of dfs_Enum
-