From 2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 21 Apr 2010 12:39:32 +1000 Subject: s4-drs: accept zero revision in drs selftest Kamen, please have a look at this. We need to accept revision zero as w2k8r2 sends it during initial schema replication Pair-Programmed-With: Andrew Bartlett --- source4/torture/drs/unit/schemainfo_tests.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source4/torture/drs/unit/schemainfo_tests.c b/source4/torture/drs/unit/schemainfo_tests.c index c3bb56fd97..26e92d54ee 100644 --- a/source4/torture/drs/unit/schemainfo_tests.c +++ b/source4/torture/drs/unit/schemainfo_tests.c @@ -79,6 +79,10 @@ static const struct { .werr_expected = WERR_OK, .test_both_ways = true }, +#if 0 + /* removed until kamen can take a look - revision 0 is sent by + * w2k8r2, and we need to accept it, possibly only when the + * other fields are zero */ { /* revision > 0 */ .schema_info_str = "FF00000000FD821C07C7455143A3DB51F75A630A7F", .revision = 0, @@ -86,6 +90,7 @@ static const struct { .werr_expected = WERR_INVALID_PARAMETER, .test_both_ways = true }, +#endif { /* len == 21 */ .schema_info_str = "FF00000001FD821C07C7455143A3DB51F75A630A7F00", .revision = 1, -- cgit