diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-21 12:39:32 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-21 13:35:56 +1000 |
commit | 2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307 (patch) | |
tree | 2a75e66b07c57d81f99e504405b1b7e7b73e4e25 /source4/torture/drs/unit | |
parent | 8fdfcde56cc78e8ea5c0bc2aa6c1dfa5515ff2c0 (diff) | |
download | samba-2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307.tar.gz samba-2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307.tar.bz2 samba-2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/torture/drs/unit')
-rw-r--r-- | source4/torture/drs/unit/schemainfo_tests.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, |