summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-07 10:55:35 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-07 10:55:35 +1100
commit8dedceaff9543ce92d9ad51f67c5c51cd63e7931 (patch)
tree607548294c340fca1a237926712f664e0443e202 /source4/torture/rpc/samr.c
parentd31fa07fde1d7118c7a33b0d93c29f6a96e1c44e (diff)
downloadsamba-8dedceaff9543ce92d9ad51f67c5c51cd63e7931.tar.gz
samba-8dedceaff9543ce92d9ad51f67c5c51cd63e7931.tar.bz2
samba-8dedceaff9543ce92d9ad51f67c5c51cd63e7931.zip
torture: disable the ValidatePassword test
This test causes problems on non-sealed connections against windows
Diffstat (limited to 'source4/torture/rpc/samr.c')
-rw-r--r--source4/torture/rpc/samr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index c9efb2e72d..b786c3f46a 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -6795,7 +6795,10 @@ bool torture_rpc_samr(struct torture_context *torture)
return false;
}
- ret &= test_samr_ValidatePassword(p, torture);
+
+ if (torture_setting_bool(torture, "dangerous", false)) {
+ ret &= test_samr_ValidatePassword(p, torture);
+ }
ret &= test_Connect(p, torture, &handle);
@@ -7039,3 +7042,4 @@ struct torture_suite *torture_rpc_samr_large_dc(TALLOC_CTX *mem_ctx)
return suite;
}
+