summaryrefslogtreecommitdiff
path: root/source4/torture/winbind
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-16 16:11:17 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-16 16:11:17 +0200
commita58df2f54c5847a6a3dddad51465c319f1c387f5 (patch)
tree11e3474ff36f5b8ea31faf73e40daf64db8c9688 /source4/torture/winbind
parent008c8adfe3c72b4820d22421ba3df8dc80053831 (diff)
downloadsamba-a58df2f54c5847a6a3dddad51465c319f1c387f5.tar.gz
samba-a58df2f54c5847a6a3dddad51465c319f1c387f5.tar.bz2
samba-a58df2f54c5847a6a3dddad51465c319f1c387f5.zip
Fix struct_based winbind test for 'check machine account'.
The problem here was that we did not fill in the error strings in the success case, and the testsuite checked against the incorrect 'freindly' error string. Andrew Bartlett (This used to be commit df05f118831245bdb19573711545bdb1b01a0c50)
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r--source4/torture/winbind/struct_based.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index 51ac0e622a..f9e4e148c3 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -262,7 +262,7 @@ static bool torture_winbind_struct_check_machacc(struct torture_context *torture
torture_assert_str_equal(torture,
rep.data.auth.error_string,
- nt_errstr(NT_STATUS_OK),
+ get_friendly_nt_error_msg(NT_STATUS_OK),
"WINBINDD_CHECK_MACHACC ok: error_string");
torture_assert_int_equal(torture,