From 2caa112ae4988d4e14e0d34de94da307675777af Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 11 Jul 2006 02:03:44 +0000 Subject: r16932: Consistanly use the macro for these DNs and attributes. Andrew Bartlett (This used to be commit dd6ca3342218aa25619a98d48e0efbbe31012c30) --- source4/lib/ldb/ldb_tdb/ldb_tdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/ldb_tdb') diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 15f34db5e1..090151cad9 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -927,7 +927,7 @@ static int ltdb_sequence_number(struct ldb_module *module, struct ldb_request *r { TALLOC_CTX *tmp_ctx = talloc_new(req); struct ldb_message *msg = NULL; - struct ldb_dn *dn = ldb_dn_explode(tmp_ctx, "@BASEINFO"); + struct ldb_dn *dn = ldb_dn_explode(tmp_ctx, LTDB_BASEINFO); int tret; if (tmp_ctx == NULL) { @@ -949,7 +949,7 @@ static int ltdb_sequence_number(struct ldb_module *module, struct ldb_request *r return LDB_SUCCESS; } - req->op.seq_num.seq_num = ldb_msg_find_uint64(msg, "sequenceNumber", 0); + req->op.seq_num.seq_num = ldb_msg_find_uint64(msg, LTDB_SEQUENCE_NUMBER, 0); talloc_free(tmp_ctx); return LDB_SUCCESS; } -- cgit