diff options
author | Andreas Schneider <asn@samba.org> | 2019-01-07 17:19:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-28 10:29:26 +0100 |
commit | 3e3e3a92f0038f0b19f001c495762e8d054363f8 (patch) | |
tree | 41f9fb3c873b62cd8635d8c4d20a68d9f6a91a42 /source4/torture/rpc/samlogon.c | |
parent | c0a6f69e0a10aabebee46fcdee4d6bb2fcc22b4d (diff) | |
download | samba-3e3e3a92f0038f0b19f001c495762e8d054363f8.tar.gz |
s4:torture: Add missing C99 initializer for torture_rpc_samlogon
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/torture/rpc/samlogon.c')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index e689dfd5e98..d5ef47ec1ee 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1357,7 +1357,7 @@ static const struct ntlm_tests { {test_plaintext_nt_broken, "Plaintext NT broken", false}, {test_plaintext_nt_only, "Plaintext NT only", false}, {test_plaintext_lm_only, "Plaintext LM only", false}, - {NULL, NULL} + { .name = NULL, } }; /* @@ -1824,7 +1824,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) popt_get_cmdline_credentials()), .network_login = true, .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "realm\\user", @@ -1836,7 +1837,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) popt_get_cmdline_credentials()), .network_login = true, .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "user@domain", @@ -1852,7 +1854,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) popt_get_cmdline_credentials()), .network_login = false, /* works for some things, but not NTLMv2. Odd */ .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "user@realm", @@ -1868,7 +1871,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) popt_get_cmdline_credentials()), .network_login = true, .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "machine domain\\user", @@ -1886,7 +1890,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) .password = cli_credentials_get_password(machine_credentials), .network_login = true, .expected_interactive_error = NT_STATUS_NO_SUCH_USER, - .expected_network_error = NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT + .expected_network_error = NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT, + .parameter_control = 0, }, { .comment = "machine realm\\user", @@ -1930,7 +1935,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) .password = user_password, .network_login = true, .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "test user (long pw): user@realm", @@ -1942,7 +1948,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) .password = user_password, .network_login = true, .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, { .comment = "test user (long pw): user@domain", @@ -1954,7 +1961,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) .password = user_password, .network_login = false, /* works for some things, but not NTLMv2. Odd */ .expected_interactive_error = NT_STATUS_OK, - .expected_network_error = NT_STATUS_OK + .expected_network_error = NT_STATUS_OK, + .parameter_control = 0, }, /* Oddball, can we use the old password ? */ { @@ -1974,7 +1982,8 @@ bool torture_rpc_samlogon(struct torture_context *torture) .password = user_password_wrong_wks, .network_login = true, .expected_interactive_error = NT_STATUS_INVALID_WORKSTATION, - .expected_network_error = NT_STATUS_INVALID_WORKSTATION + .expected_network_error = NT_STATUS_INVALID_WORKSTATION, + .parameter_control = 0, } }; |