Andrew Tridgell
ea266c0625
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
(This used to be commit e18dba7d5a
)
2003-11-16 11:36:59 +00:00
Andrew Tridgell
0c5759a4b2
added support for "relstr", structure and union properties and public
...
functions
(This used to be commit fb2f8c6bff
)
2003-11-16 11:34:32 +00:00
Tim Potter
7ca3720acb
Initial version of printer info 1 for tridge.
...
(This used to be commit 03185769be
)
2003-11-16 06:08:43 +00:00
Andrew Tridgell
4e959703a2
ignore .pidl files
...
(This used to be commit 8b2a0988e8
)
2003-11-16 06:01:07 +00:00
Andrew Tridgell
7b40bd0a5f
use the "subcontext" magic flag for sec_desc_buf
...
(This used to be commit 05ed2f6dc9
)
2003-11-16 06:00:15 +00:00
Andrew Tridgell
3d7524c7ae
added the "subcontext" attribute for auto-handling of user-marshalled
...
sub-context buffers
(This used to be commit 01cc199d78
)
2003-11-16 05:59:05 +00:00
Andrew Tridgell
4d48e84ffa
slightly more efficient strlen setting in lsa and samr strings (calls
...
strlen_m() once, not twice)
(This used to be commit 468c2dc632
)
2003-11-16 05:07:07 +00:00
Andrew Tridgell
b5fccdd9ee
fixed the handling of much more general C expressions in value()
...
statements
(This used to be commit 8b38041f65
)
2003-11-16 05:05:38 +00:00
Tim Potter
1f4fe8e486
Commit autogenerated code for EnumPrinters and ClosePrinter.
...
(This used to be commit 1a0271fc34
)
2003-11-16 04:25:45 +00:00
Tim Potter
fc55fd3e33
Added push/pull routines for uint8_buf IDL type used for spoolss buffers,
...
and possibly other places.
(This used to be commit 8fcac6742f
)
2003-11-16 04:22:20 +00:00
Tim Potter
274667be32
Added tests for EnumPrinters and ClosePrinter.
...
(This used to be commit 9f3b84c7d7
)
2003-11-16 04:20:29 +00:00
Tim Potter
6098faca03
Added IDL for EnumPrinters and ClosePrinter.
...
(This used to be commit 5eba47a4a3
)
2003-11-16 04:19:12 +00:00
Andrew Tridgell
05557d9ac8
run the basic build tests on sub-builds like "make torture" as well
...
(This used to be commit 67e826923c
)
2003-11-15 21:28:00 +00:00
Andrew Tridgell
6a991bb9b0
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
(This used to be commit ab5939e796
)
2003-11-15 21:25:03 +00:00
Andrew Tridgell
5bd51a1d5d
the returned policy handle in spoolss_OpenPrinterEx() is pass by
...
reference
(tim, my apoligies if this conflicts with an uncomitted fix from you)
(This used to be commit fa0872e663
)
2003-11-15 20:56:18 +00:00
Andrew Tridgell
c24f56e71c
remember to samr_Close() policy handles after use
...
(This used to be commit 8b4e5c65e0
)
2003-11-15 20:47:59 +00:00
Andrew Tridgell
8c90fcd32b
added OpenAlias and QueryAliasInfo levels 1 to 3
...
(This used to be commit 2ed8cfdf66
)
2003-11-15 12:38:06 +00:00
Andrew Tridgell
4d00dd9d5d
added OpenGroup and QueryGroupInfo levels 1 to 4
...
(This used to be commit ffe4fcaab0
)
2003-11-15 12:14:22 +00:00
Andrew Tridgell
f272eb3139
don't encode my own servers name in the test :)
...
(This used to be commit bcc87ab8c0
)
2003-11-15 11:39:47 +00:00
Andrew Tridgell
e7d70e40d5
added UserInfo level 21
...
(This used to be commit b90eff794f
)
2003-11-15 11:34:01 +00:00
Andrew Tridgell
8f09c940b7
added samr UserInfo levels 4 to 20
...
(This used to be commit 5bbe63a7bb
)
2003-11-15 11:13:49 +00:00
Andrew Tridgell
e92419e2d3
added samr_UserInfo2 and samr_UserInfo3
...
(This used to be commit 5e852f694c
)
2003-11-15 10:58:29 +00:00
Andrew Tridgell
54ccb9c6a2
added support for varying conformant arrays (needed for samr
...
userinfo3)
(This used to be commit f5b577a2b9
)
2003-11-15 10:57:17 +00:00
Andrew Tridgell
42a25ebb75
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
...
(This used to be commit e7edeec60e
)
2003-11-15 10:03:12 +00:00
Andrew Tridgell
4063fd08d4
added samr_EnumDomainGroups and samr_EnumDomainUsers
...
(This used to be commit f8d690fb2b
)
2003-11-15 09:39:48 +00:00
Andrew Tridgell
4cadb043d7
added another 11 levels of QueryDomainInfo
...
(This used to be commit 219cfabaeb
)
2003-11-15 09:18:02 +00:00
Andrew Tridgell
1e9ea7fe86
fixed alignment of the buffers part structures
...
(This used to be commit f38ecd7ff7
)
2003-11-15 09:13:55 +00:00
Andrew Tridgell
497e01e93e
added samr_OpenDomain() and samr_QueryDomainInfo() level 1
...
(This used to be commit 2d9c055c1b
)
2003-11-15 08:06:39 +00:00
Andrew Tridgell
bcfbaa312a
run LookupDomain on each domain returned from EnumDomains in samr
...
(This used to be commit 947b9f8ced
)
2003-11-15 07:51:19 +00:00
Andrew Tridgell
5a28ca7bf3
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 :)
(This used to be commit c7ddd6b2aa
)
2003-11-15 07:49:03 +00:00
Andrew Tridgell
ba5a060136
added the first couple of calls from samr as IDL
...
samr_EnumDomains() works nicely
(This used to be commit 7c162eaf3b
)
2003-11-15 06:00:21 +00:00
Tim Potter
78b7118d1a
Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
...
works but without a devicemode.
(This used to be commit 35e889cf33
)
2003-11-15 05:42:49 +00:00
Tim Potter
7290260c1a
Fix bug in generation of function ndr_pull code generation. This patch
...
makes the code symmetric with the ndr_push code.
(This used to be commit 4a6f192ff8
)
2003-11-15 05:15:40 +00:00
Andrew Tridgell
099899a7cc
added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
...
also adding printing of security descriptors
(This used to be commit 1f93cbc1d5
)
2003-11-15 04:42:48 +00:00
Andrew Tridgell
5a1779b982
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.
(This used to be commit f0a8f063a6
)
2003-11-14 21:39:13 +00:00
Andrew Tridgell
f147a70795
added the dfs_GetInfo all - all levels
...
(This used to be commit 638eae6bae
)
2003-11-14 13:16:34 +00:00
Andrew Tridgell
4922823167
* make pidl.pl exit with an error on a parse error
...
* fixed a buffers/scalars bug in structures
(This used to be commit e66daf5273
)
2003-11-14 13:15:20 +00:00
Andrew Tridgell
15b258051c
* 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
(This used to be commit 9ad28f6ddb
)
2003-11-14 08:27:39 +00:00
Andrew Tridgell
57529207ca
* fixed lsa_LookupPrivName
...
* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c1982
)
2003-11-14 07:56:43 +00:00
Andrew Tridgell
565fd2da76
fixed another problem with pointers to arrays in structures
...
(This used to be commit cf880a8312
)
2003-11-14 07:55:43 +00:00
Andrew Tridgell
e8a3825ebc
we can now do a level1 NetDfsEnum()
...
(This used to be commit f32641f73f
)
2003-11-14 07:20:46 +00:00
Andrew Tridgell
5b7f049829
fixed the handling of unions of pointers
...
(This used to be commit 7b0f2ccf07
)
2003-11-14 07:19:32 +00:00
Andrew Tridgell
b6b4cc752b
* 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)
(This used to be commit b5888b5315
)
2003-11-14 02:20:41 +00:00
Andrew Tridgell
9cadbd5775
fixed rpcecho EchoData debug code
...
(This used to be commit 01cdcba5cd
)
2003-11-13 10:29:58 +00:00
Andrew Tridgell
679520ac73
removed some obsolete .cvsignore files
...
(This used to be commit 91aed7c6a6
)
2003-11-13 10:17:20 +00:00
Andrew Tridgell
062670f00c
removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code
...
(This used to be commit 874bf4689d
)
2003-11-13 10:15:48 +00:00
Andrew Tridgell
aeda2f8152
more dfs work
...
(This used to be commit d9eb4511d0
)
2003-11-13 10:15:08 +00:00
Andrew Tridgell
3031937d56
* fixed conformant arrays in structures
...
* expanded the rpcecho test
* started adding the NETDFS pipe
(This used to be commit 095ab42cbd
)
2003-11-13 09:26:53 +00:00
Andrew Tridgell
ff02537261
I think we now handle conformant arrays in structures correctly - the
...
test cases pass
(This used to be commit 22e1502350
)
2003-11-13 09:23:58 +00:00
Andrew Tridgell
6714815f01
lsa_PrivilegeSet seems to be a very strange beast indeed. It has a
...
constant sized array of size 1 at the end?
(This used to be commit 2cc354bd82
)
2003-11-12 05:34:21 +00:00