mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-smbtorture: fix test_LogonUasLogon.
Guenther
This commit is contained in:
parent
98f8f89164
commit
bb3836a67f
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user