diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samr.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 5462e3a68f..b26a4c6eee 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -6799,11 +6799,6 @@ bool torture_rpc_samr(struct torture_context *torture) return false; } - - if (torture_setting_bool(torture, "dangerous", false)) { - ret &= test_samr_ValidatePassword(p, torture); - } - ret &= test_Connect(p, torture, &handle); if (!torture_setting_bool(torture, "samba3", false)) { @@ -6870,6 +6865,8 @@ bool torture_rpc_samr_passwords(struct torture_context *torture) ret &= test_samr_handle_Close(p, torture, &handle); + ret &= test_samr_ValidatePassword(p, torture); + return ret; } |