summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-06-14 03:04:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:08 -0500
commit785b452a042f00b561df55243e8aaee920d84ce6 (patch)
treed3151940fa8cbaf9b3c96e103a0b44577e6f6919 /source4/lib/ldb/ldb_tdb
parent5ec2c79dc58f340a9635b34400797fa85361c6ba (diff)
downloadsamba-785b452a042f00b561df55243e8aaee920d84ce6.tar.gz
samba-785b452a042f00b561df55243e8aaee920d84ce6.tar.bz2
samba-785b452a042f00b561df55243e8aaee920d84ce6.zip
r7561: moved OID constants into ldb.h and used manifest constants in ldb_match.c
(This used to be commit 42cbb155c20779c458f727488c8554842b24681b)
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;