diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-14 21:39:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-14 21:39:13 +0000 |
commit | 5a1779b982569201decc8a09765d5361212813d7 (patch) | |
tree | dedcf4e90ff7a2455135fe2c61591e0fbac4e33e /source4/torture | |
parent | f147a707955d3c57ecd0ecc7e19307adb2aed02b (diff) | |
download | samba-5a1779b982569201decc8a09765d5361212813d7.tar.gz samba-5a1779b982569201decc8a09765d5361212813d7.tar.bz2 samba-5a1779b982569201decc8a09765d5361212813d7.zip |
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 f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/lsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 14db7e26e6..5b3844396e 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -91,10 +91,12 @@ static BOOL test_OpenPolicy(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) printf("\ntesting OpenPolicy\n"); + qos.len = 0; qos.impersonation_level = 2; qos.context_mode = 1; qos.effective_only = 0; + attr.len = 0; attr.root_dir = NULL; attr.object_name = NULL; attr.attributes = 0; @@ -126,10 +128,12 @@ static BOOL test_OpenPolicy2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, printf("\ntesting OpenPolicy2\n"); + qos.len = 0; qos.impersonation_level = 2; qos.context_mode = 1; qos.effective_only = 0; + attr.len = 0; attr.root_dir = NULL; attr.object_name = NULL; attr.attributes = 0; |