git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a4922
)
s4:torture/rpc/samr.c - fix a wrong torture error message
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sat, 14 Aug 2010 09:19:53 +0000
(11:19 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sat, 14 Aug 2010 16:48:19 +0000
(18:48 +0200)
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index a34ef4092cc31331a942411283432999d46b73bd..4161748c6cee5c6645ee2fdf01bc904c4a752771 100644
(file)
--- 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;
}