summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-27 09:04:46 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-27 11:29:16 +0200
commit6acd2f2b1a75f1779a7a27402e2d285c74781df5 (patch)
tree83bfd86f2709633052b5937d679d139d6153d1d2
parentdba03a644d9e9211d4876597a51a83656fc5b625 (diff)
downloadsamba-6acd2f2b1a75f1779a7a27402e2d285c74781df5.tar.gz
samba-6acd2f2b1a75f1779a7a27402e2d285c74781df5.tar.bz2
samba-6acd2f2b1a75f1779a7a27402e2d285c74781df5.zip
s3-pdbtest: show mis-matching times
-rw-r--r--source3/torture/pdbtest.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index 14e28e98b7..aad66bc0c8 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -128,13 +128,17 @@ static bool samu_correct(struct samu *s1, struct samu *s2)
/* Check logoff time */
if (pdb_get_logoff_time(s1) != pdb_get_logoff_time(s2)) {
- DEBUG(0, ("Logoff time is not written correctly\n"));
+ DEBUG(0, ("Logoff time is not written correctly: %s vs %s \n",
+ http_timestring(talloc_tos(), pdb_get_logoff_time(s1)),
+ http_timestring(talloc_tos(), pdb_get_logoff_time(s2))));
ret = False;
}
/* Check kickoff time */
if (pdb_get_kickoff_time(s1) != pdb_get_kickoff_time(s2)) {
- DEBUG(0, ("Kickoff time is not written correctly\n"));
+ DEBUG(0, ("Kickoff time is not written correctly: %s vs %s \n",
+ http_timestring(talloc_tos(), pdb_get_kickoff_time(s1)),
+ http_timestring(talloc_tos(), pdb_get_kickoff_time(s2))));
ret = False;
}
@@ -146,13 +150,17 @@ static bool samu_correct(struct samu *s1, struct samu *s2)
/* Check password last set time */
if (pdb_get_pass_last_set_time(s1) != pdb_get_pass_last_set_time(s2)) {
- DEBUG(0, ("Password last set time is not written correctly\n"));
+ DEBUG(0, ("Password last set time is not written correctly: %s vs %s \n",
+ http_timestring(talloc_tos(), pdb_get_pass_last_set_time(s1)),
+ http_timestring(talloc_tos(), pdb_get_pass_last_set_time(s2))));
ret = False;
}
/* Check password can change time */
if (pdb_get_pass_can_change_time(s1) != pdb_get_pass_can_change_time(s2)) {
- DEBUG(0, ("Password can change time is not written correctly\n"));
+ DEBUG(0, ("Password can change time is not written correctly %s vs %s \n",
+ http_timestring(talloc_tos(), pdb_get_pass_can_change_time(s1)),
+ http_timestring(talloc_tos(), pdb_get_pass_can_change_time(s2))));
ret = False;
}