diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-28 04:58:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:23 -0500 |
commit | 09bfb8ffb06145308aa31543faa9f5f102ac2642 (patch) | |
tree | bbd58f118c585ef8d5b09b4595af4af23f2d6158 /source4/torture | |
parent | e0ab3485eeeee130cf43b333562f30f09a29cfd8 (diff) | |
download | samba-09bfb8ffb06145308aa31543faa9f5f102ac2642.tar.gz samba-09bfb8ffb06145308aa31543faa9f5f102ac2642.tar.bz2 samba-09bfb8ffb06145308aa31543faa9f5f102ac2642.zip |
r11355: Test for error returns when we don't specify the newly discovered
'workstation for account on NTLM' flag.
Andrew Bartlett
(This used to be commit aa5b6cf7c4cabd25655dc11d90d00c5faec67d6c)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 46e1f90040..7b19304071 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1579,6 +1579,15 @@ BOOL torture_rpc_samlogon(void) .parameter_control = MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT }, { + .comment = "machine domain\\user", + .domain = cli_credentials_get_domain(machine_credentials), + .username = cli_credentials_get_username(machine_credentials), + .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 + }, + { .comment = "machine realm\\user", .domain = cli_credentials_get_realm(machine_credentials), .username = cli_credentials_get_username(machine_credentials), |