diff options
author | Günther Deschner <gd@samba.org> | 2008-10-21 01:20:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-27 19:33:22 +0100 |
commit | 6a2dabe1a7faae47dce359b77d886a9489b66fcb (patch) | |
tree | 5da6140b3215b205d78fa0e47b7ce38ae1ab4449 /source4/torture/rpc/object_uuid.c | |
parent | 6131c0d8888c8bc1923794b9b93c1cb44bb071e3 (diff) | |
download | samba-6a2dabe1a7faae47dce359b77d886a9489b66fcb.tar.gz samba-6a2dabe1a7faae47dce359b77d886a9489b66fcb.tar.bz2 samba-6a2dabe1a7faae47dce359b77d886a9489b66fcb.zip |
s4-lsa: merge lsa_GetUserName from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/torture/rpc/object_uuid.c')
-rw-r--r-- | source4/torture/rpc/object_uuid.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/torture/rpc/object_uuid.c b/source4/torture/rpc/object_uuid.c index 5a77bd1c29..69905169af 100644 --- a/source4/torture/rpc/object_uuid.c +++ b/source4/torture/rpc/object_uuid.c @@ -39,7 +39,8 @@ static bool test_random_uuid(struct torture_context *torture) struct GUID uuid; struct dssetup_DsRoleGetPrimaryDomainInformation r1; struct lsa_GetUserName r2; - struct lsa_StringPointer authority_name_p; + struct lsa_String *authority_name_p = NULL; + struct lsa_String *account_name_p = NULL; torture_comment(torture, "RPC-OBJECTUUID-RANDOM\n"); @@ -63,9 +64,10 @@ static bool test_random_uuid(struct torture_context *torture) uuid = GUID_random(); r2.in.system_name = "\\"; - r2.in.account_name = NULL; + r2.in.account_name = &account_name_p; r2.in.authority_name = &authority_name_p; - authority_name_p.string = NULL; + r2.out.account_name = &account_name_p; + r2.out.authority_name = &authority_name_p; req = dcerpc_ndr_request_send(p2, &uuid, &ndr_table_lsarpc, |