1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

305 Commits

Author SHA1 Message Date
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
-
Andrew Tridgell
cf880a8312 fixed another problem with pointers to arrays in structures -
Andrew Tridgell
f32641f73f we can now do a level1 NetDfsEnum() -
Andrew Tridgell
7b0f2ccf07 fixed the handling of unions of pointers -
Andrew Tridgell
b5888b5315 * differentiate between pointers and non-pointers in switch_is union
elements in structures

* layout the pull/push/print generated functions with all push
  together, all pull together etc, as this makes for easier debugging

(note that I have no redirected commit messages for pidl to the
samba-cvs mailing list, so you may be seeing these messages for the
first time. See the pidl cvs repository for details on pidl)
-
Andrew Tridgell
01cdcba5cd fixed rpcecho EchoData debug code -
Andrew Tridgell
91aed7c6a6 removed some obsolete .cvsignore files -
Andrew Tridgell
874bf4689d removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code -
Andrew Tridgell
d9eb4511d0 more dfs work -
Andrew Tridgell
095ab42cbd * fixed conformant arrays in structures
* expanded the rpcecho test

* started adding the NETDFS pipe
-
Andrew Tridgell
22e1502350 I think we now handle conformant arrays in structures correctly - the
test cases pass
-
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
673e7bcdc2 handle constant sized arrays -
Andrew Tridgell
b2ced24fc0 added 9 more info levels to lsa_QueryInfoPolicy -