diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-01-09 03:04:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:33 -0500 |
commit | cb032eebd6a185e01718c2a8b237c13c9e99ea44 (patch) | |
tree | 1700b94291370766269b2df1227b89d2ab194fe3 /source4/torture | |
parent | 1bdbd21eb23d5591f005da13f1868343a4395dbe (diff) | |
download | samba-cb032eebd6a185e01718c2a8b237c13c9e99ea44.tar.gz samba-cb032eebd6a185e01718c2a8b237c13c9e99ea44.tar.bz2 samba-cb032eebd6a185e01718c2a8b237c13c9e99ea44.zip |
r4610: You can't join as a BDC and test against trusted domains. This test
only needs WS privilages anyway.
Andrew Bartlett
(This used to be commit a093c4f98e833198ee59064b2cb9b9b45a188a59)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 7e5579b213..d75165ac43 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1226,7 +1226,10 @@ BOOL torture_rpc_samlogon(void) 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"); |