netlogon.idl: improve idl for netr_ServerTrustPasswordsGet()
authorStefan Metzmacher <metze@samba.org>
Mon, 9 Mar 2015 12:18:38 +0000 (13:18 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 12 Mar 2015 16:13:43 +0000 (17:13 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/idl/netlogon.idl
source4/torture/rpc/netlogon.c

index f3bfc3032bc3e18d96764a0333dea919291af8d8..50b9c9ea8b9fe2b3a366fc14edd3c8652a6ffe1b 100644 (file)
@@ -1594,8 +1594,8 @@ interface netlogon
                [in]  [string,charset(UTF16)] uint16 *computer_name,
                [in,ref] netr_Authenticator *credential,
                [out,ref] netr_Authenticator *return_authenticator,
-               [out,ref] samr_Password *password,
-               [out,ref] samr_Password *password2
+               [out,ref] samr_Password *new_owf_password,
+               [out,ref] samr_Password *old_owf_password
        );
 
        /****************/
index a2450cf1c25a94cb2c91db27d70c024a512329dd..eb9afd011c5dbf5c0b82fcec2aa43e2fd6e2e655 100644 (file)
@@ -781,8 +781,8 @@ static bool test_GetTrustPasswords(struct torture_context *tctx,
        r.in.computer_name = TEST_MACHINE_NAME;
        r.in.credential = &credential;
        r.out.return_authenticator = &return_authenticator;
-       r.out.password = &password;
-       r.out.password2 = &password2;
+       r.out.new_owf_password = &password;
+       r.out.old_owf_password = &password2;
 
        torture_assert_ntstatus_ok(tctx, dcerpc_netr_ServerTrustPasswordsGet_r(b, tctx, &r),
                "ServerTrustPasswordsGet failed");