diff options
author | Günther Deschner <gd@samba.org> | 2008-11-05 03:02:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-10 21:46:29 +0100 |
commit | f20dd953ef902e3dcd2131df9f1cfaaa4436e857 (patch) | |
tree | 52108487456ba8fb4e37d54b532ebe99debae7b3 | |
parent | f7dfea32fcaede24af545fb2e2b1701ccc676be5 (diff) | |
download | samba-f20dd953ef902e3dcd2131df9f1cfaaa4436e857.tar.gz samba-f20dd953ef902e3dcd2131df9f1cfaaa4436e857.tar.bz2 samba-f20dd953ef902e3dcd2131df9f1cfaaa4436e857.zip |
s4-samr: merge samr_QueryDomainInfo2 from s3 idl. (fixme: python)
Guenther
-rw-r--r-- | librpc/idl/samr.idl | 2 | ||||
-rw-r--r-- | source4/torture/rpc/samr.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index a295a0ce70..11beb7bac3 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -1196,7 +1196,7 @@ import "misc.idl", "lsa.idl", "security.idl"; NTSTATUS samr_QueryDomainInfo2( [in,ref] policy_handle *domain_handle, [in] uint16 level, - [out,unique,switch_is(level)] samr_DomainInfo *info + [out,ref,switch_is(level)] samr_DomainInfo **info ); /************************/ diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 4c3bc52626..b01abf1ba8 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -4016,6 +4016,7 @@ static bool test_QueryDomainInfo2(struct dcerpc_pipe *p, struct torture_context { NTSTATUS status; struct samr_QueryDomainInfo2 r; + union samr_DomainInfo *info = NULL; uint16_t levels[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13}; int i; bool ret = true; @@ -4025,6 +4026,7 @@ static bool test_QueryDomainInfo2(struct dcerpc_pipe *p, struct torture_context r.in.domain_handle = handle; r.in.level = levels[i]; + r.out.info = &info; status = dcerpc_samr_QueryDomainInfo2(p, tctx, &r); if (!NT_STATUS_IS_OK(status)) { |