summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 11:19:53 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-14 18:48:19 +0200
commit4f6377043dc7a524a2afd05cd151c82350f06cfe (patch)
treed804bc0d97e245a039255fa5bd7d2e1e89b09fb7 /source4/torture
parent13a4922ae631578fcc88eb6b98a15361fd805186 (diff)
downloadsamba-4f6377043dc7a524a2afd05cd151c82350f06cfe.tar.gz
samba-4f6377043dc7a524a2afd05cd151c82350f06cfe.tar.bz2
samba-4f6377043dc7a524a2afd05cd151c82350f06cfe.zip
s4:torture/rpc/samr.c - fix a wrong torture error message
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index a34ef4092c..4161748c6c 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -1870,7 +1870,7 @@ static bool test_ChangePasswordUser(struct dcerpc_binding_handle *b,
changed = true;
*password = newpass;
} else if (!NT_STATUS_EQUAL(NT_STATUS_PASSWORD_RESTRICTION, r.out.result)) {
- torture_warning(tctx, "ChangePasswordUser failed: expected NT_STATUS_NT_CROSS_ENCRYPTION_REQUIRED, got %s\n", nt_errstr(r.out.result));
+ torture_warning(tctx, "ChangePasswordUser failed: expected NT_STATUS_OK, or at least NT_STATUS_PASSWORD_RESTRICTION, got %s\n", nt_errstr(r.out.result));
ret = false;
}