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

abartlet at samba.org abartlet at samba.org
Sun Jan 9 03:04:45 GMT 2005


Author: abartlet
Date: 2005-01-09 03:04:45 +0000 (Sun, 09 Jan 2005)
New Revision: 4610

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

Log:
You can't join as a BDC and test against trusted domains.  This test
only needs WS privilages anyway.

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-01-09 02:37:24 UTC (rev 4609)
+++ branches/SAMBA_4_0/source/torture/rpc/samlogon.c	2005-01-09 03:04:45 UTC (rev 4610)
@@ -1226,7 +1226,10 @@
 
 	mem_ctx = talloc_init("torture_rpc_netlogon");
 
-	join_ctx = torture_join_domain(TEST_MACHINE_NAME, lp_workgroup(), ACB_SVRTRUST, 
+	/* We only need to join as a workstation here, and in future,
+	 * if we wish to test against trusted domains, we must be a
+	 * workstation here */
+	join_ctx = torture_join_domain(TEST_MACHINE_NAME, lp_workgroup(), ACB_WSTRUST, 
 				       &machine_password);
 	if (!join_ctx) {
 		printf("Failed to join as BDC\n");



More information about the samba-cvs mailing list