diff options
Diffstat (limited to 'lib/ldb-samba')
-rw-r--r-- | lib/ldb-samba/ldb_matching_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb-samba/ldb_matching_rules.c b/lib/ldb-samba/ldb_matching_rules.c index 2c9d78fea8c..73d957df3d9 100644 --- a/lib/ldb-samba/ldb_matching_rules.c +++ b/lib/ldb-samba/ldb_matching_rules.c @@ -390,7 +390,7 @@ static int dsdb_match_for_dns_to_tombstone_time(struct ldb_context *ldb, memcpy(s, value_to_match->data, value_to_match->length); s[value_to_match->length] = 0; - if (s[0] == '\0' || s[0] == '-') { + if (s[0] == '\0') { DBG_ERR("Empty timestamp passed\n"); return LDB_ERR_INVALID_ATTRIBUTE_SYNTAX; } |