diff options
author | Günther Deschner <gd@samba.org> | 2008-10-28 15:18:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-28 23:40:44 +0100 |
commit | bb3836a67f7b61f22b5ec036da52a0077d933343 (patch) | |
tree | 258bb0f7e9d7b55fa557b725cc6ba583d220fd91 | |
parent | 98f8f891643d356eaf67206f5606aa2ed82c96ce (diff) | |
download | samba-bb3836a67f7b61f22b5ec036da52a0077d933343.tar.gz samba-bb3836a67f7b61f22b5ec036da52a0077d933343.tar.bz2 samba-bb3836a67f7b61f22b5ec036da52a0077d933343.zip |
s4-smbtorture: fix test_LogonUasLogon.
Guenther
-rw-r--r-- | source3/librpc/idl/netlogon.idl | 2 | ||||
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 2 | ||||
-rw-r--r-- | source4/torture/rpc/netlogon.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/source3/librpc/idl/netlogon.idl b/source3/librpc/idl/netlogon.idl index ea8319b620..d6c3bd4374 100644 --- a/source3/librpc/idl/netlogon.idl +++ b/source3/librpc/idl/netlogon.idl @@ -46,7 +46,7 @@ interface netlogon [in,unique] [string,charset(UTF16)] uint16 *server_name, [in] [string,charset(UTF16)] uint16 account_name[], [in] [string,charset(UTF16)] uint16 workstation[], - [out,ref] netr_UasInfo *info + [out,ref] netr_UasInfo **info ); diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index f547ec7493..b3ff5435c2 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -46,7 +46,7 @@ interface netlogon [in,unique] [string,charset(UTF16)] uint16 *server_name, [in] [string,charset(UTF16)] uint16 account_name[], [in] [string,charset(UTF16)] uint16 workstation[], - [out,ref] netr_UasInfo *info + [out,ref] netr_UasInfo **info ); diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index c2e12ec01d..19163e931a 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -42,10 +42,12 @@ static bool test_LogonUasLogon(struct torture_context *tctx, { NTSTATUS status; struct netr_LogonUasLogon r; + struct netr_UasInfo *info = NULL; r.in.server_name = NULL; r.in.account_name = cli_credentials_get_username(cmdline_credentials); r.in.workstation = TEST_MACHINE_NAME; + r.out.info = &info; status = dcerpc_netr_LogonUasLogon(p, tctx, &r); torture_assert_ntstatus_ok(tctx, status, "LogonUasLogon"); |