X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source4%2Fdsdb%2Fschema%2Fschema_syntax.c;h=b434b6b0a5f71eec690bc638dc64ac358e5cec81;hb=64b144dce315642dcf606be4eacefab7036bb6c7;hp=6205373a3fcf6d7867743971193463ab83d8e16e;hpb=7bffd65bb570eb3b8a4502d52a18c98b7b640645;p=metze%2Fsamba%2Fwip.git diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c index 6205373a3fcf..b434b6b0a5f7 100644 --- a/source4/dsdb/schema/schema_syntax.c +++ b/source4/dsdb/schema/schema_syntax.c @@ -662,7 +662,7 @@ static WERROR dsdb_syntax_NTTIME_UTC_validate_ldb(const struct dsdb_syntax_ctx * } if (attr->rangeUpper) { - if ((int32_t)t > (int32_t)*attr->rangeLower) { + if ((int32_t)t > (int32_t)*attr->rangeUpper) { return WERR_DS_INVALID_ATTRIBUTE_SYNTAX; } }