summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_match.c b/source4/lib/ldb/ldb_tdb/ldb_match.c
index 51b0ab9aa7..4c11542971 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_match.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_match.c
@@ -333,8 +333,8 @@ static int ltdb_extended_match(struct ldb_module *module,
const char *oid;
int (*comparator)(struct ldb_val *, struct ldb_val *);
} rules[] = {
- { "1.2.840.113556.1.4.803", comparator_and},
- { "1.2.840.113556.1.4.804", comparator_or}
+ { LDB_OID_COMPARATOR_AND, comparator_and},
+ { LDB_OID_COMPARATOR_OR, comparator_or}
};
int (*comp)(struct ldb_val *, struct ldb_val *) = NULL;
struct ldb_message_element *el;