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

abartlet at samba.org abartlet at samba.org
Fri Mar 18 04:09:53 GMT 2005


Author: abartlet
Date: 2005-03-18 04:09:52 +0000 (Fri, 18 Mar 2005)
New Revision: 5878

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

Log:
Be clear which machine name (We have one worksation, and one BDC) we
are doing logins with.

Andrew Bartlett

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samsync.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-03-18 03:17:30 UTC (rev 5877)
+++ branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-03-18 04:09:52 UTC (rev 5878)
@@ -30,7 +30,7 @@
 #include "system/time.h"
 
 #define TEST_MACHINE_NAME "samsynctest"
-#define TEST_MACHINE_NAME2 "samsynctest2"
+#define TEST_WKSTA_MACHINE_NAME "samsynctest2"
 #define TEST_USER_NAME "samsynctestuser"
 
 /*
@@ -522,10 +522,10 @@
 		}
 	}
 
-	nt_status = test_SamLogon(samsync_state->p, mem_ctx, samsync_state->creds, 
+	nt_status = test_SamLogon(samsync_state->p_netlogon_wksta, mem_ctx, samsync_state->creds_netlogon_wksta, 
 				  domain,
 				  username, 
-				  TEST_MACHINE_NAME,
+				  TEST_WKSTA_MACHINE_NAME,
 				  lm_hash_p,
 				  nt_hash_p,
 				  &info3);
@@ -1135,7 +1135,7 @@
 				nt_status = test_SamLogon(samsync_state->p_netlogon_wksta, mem_ctx, samsync_state->creds_netlogon_wksta, 
 							  t->name,
 							  username, 
-							  TEST_MACHINE_NAME2,
+							  TEST_WKSTA_MACHINE_NAME,
 							  NULL, 
 							  &nt_hash,
 							  NULL);
@@ -1156,7 +1156,7 @@
 				nt_status = test_SamLogon(samsync_state->p_netlogon_wksta, mem_ctx, samsync_state->creds_netlogon_wksta, 
 							  t->name,
 							  username, 
-							  TEST_MACHINE_NAME2,
+							  TEST_WKSTA_MACHINE_NAME,
 							  NULL,
 							  &nt_hash,
 							  NULL);
@@ -1307,7 +1307,7 @@
 		return False;
 	}
 	
-	join_ctx2 = torture_join_domain(TEST_MACHINE_NAME2, lp_workgroup(), ACB_WSTRUST, 
+	join_ctx2 = torture_join_domain(TEST_WKSTA_MACHINE_NAME, lp_workgroup(), ACB_WSTRUST, 
 				       &machine_password2);
 	if (!join_ctx2) {
 		printf("Failed to join as member\n");
@@ -1445,7 +1445,7 @@
 				       DCERPC_NETLOGON_UUID,
 				       DCERPC_NETLOGON_VERSION,
 				       lp_workgroup(), 
-				       TEST_MACHINE_NAME2,
+				       TEST_WKSTA_MACHINE_NAME,
 				       machine_password2);
 
 	if (!NT_STATUS_IS_OK(status)) {



More information about the samba-cvs mailing list