Author: abartlet Date: 2006-07-11 02:03:44 +0000 (Tue, 11 Jul 2006) New Revision: 16932
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16932 Log: Consistanly use the macro for these DNs and attributes. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-07-11 00:24:29 UTC (rev 16931) +++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-07-11 02:03:44 UTC (rev 16932) @@ -927,7 +927,7 @@ { 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 @@ 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; }