summaryrefslogtreecommitdiff
path: root/source4/torture/drs/unit
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 12:39:32 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 13:35:56 +1000
commit2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307 (patch)
tree2a75e66b07c57d81f99e504405b1b7e7b73e4e25 /source4/torture/drs/unit
parent8fdfcde56cc78e8ea5c0bc2aa6c1dfa5515ff2c0 (diff)
downloadsamba-2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307.tar.gz
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.c5
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 c3bb56fd972..26e92d54ee4 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,