svn commit: samba r11355 - in branches/SAMBA_4_0/source/torture/rpc: .

abartlet at samba.org abartlet at samba.org
Fri Oct 28 04:58:34 GMT 2005


Author: abartlet
Date: 2005-10-28 04:58:33 +0000 (Fri, 28 Oct 2005)
New Revision: 11355

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11355

Log:
Test for error returns when we don't specify the newly discovered
'workstation for account on NTLM' flag.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/rpc/samlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samlogon.c	2005-10-28 04:10:47 UTC (rev 11354)
+++ branches/SAMBA_4_0/source/torture/rpc/samlogon.c	2005-10-28 04:58:33 UTC (rev 11355)
@@ -1579,6 +1579,15 @@
 				.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),



More information about the samba-cvs mailing list