summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_info_attr.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source4/dsdb/schema/schema_info_attr.c b/source4/dsdb/schema/schema_info_attr.c
index 165184739c..132c72a376 100644
--- a/source4/dsdb/schema/schema_info_attr.c
+++ b/source4/dsdb/schema/schema_info_attr.c
@@ -68,17 +68,14 @@ WERROR dsdb_schema_info_from_blob(const DATA_BLOB *blob,
return ntstatus_to_werror(nt_status);
}
- /* revision must be not less than 1 */
- if (schema_info_blob.revision < 1) {
- talloc_free(temp_ctx);
- return WERR_INVALID_PARAMETER;
- }
-
schema_info = talloc(mem_ctx, struct dsdb_schema_info);
if (!schema_info) {
talloc_free(temp_ctx);
return WERR_NOMEM;
}
+
+ /* note that we accept revision numbers of zero now - w2k8r2
+ sends a revision of zero on initial vampire */
schema_info->revision = schema_info_blob.revision;
schema_info->invocation_id = schema_info_blob.invocation_id;
*_schema_info = schema_info;