From bcbf0ae1e707c2355824800dc213d364070f070a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 1 Sep 2009 19:55:30 +1000 Subject: s4:ldb Remove LTDB_PACKING_FORMAT_NODN The restructured code makes this hader to support, and we have not had this kind of LDB for a very long time now. Andrew Bartlett --- source4/lib/ldb/ldb_tdb/ldb_pack.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source4/lib/ldb/ldb_tdb/ldb_pack.c') diff --git a/source4/lib/ldb/ldb_tdb/ldb_pack.c b/source4/lib/ldb/ldb_tdb/ldb_pack.c index e7aeb47e72..7fe61c020a 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_pack.c +++ b/source4/lib/ldb/ldb_tdb/ldb_pack.c @@ -36,9 +36,6 @@ /* change this if the data format ever changes */ #define LTDB_PACKING_FORMAT 0x26011967 -/* old packing formats */ -#define LTDB_PACKING_FORMAT_NODN 0x26011966 - /* use a portable integer format */ static void put_uint32(uint8_t *p, int ofs, unsigned int val) { @@ -183,10 +180,6 @@ int ltdb_unpack_data(struct ldb_module *module, remaining = data->dsize - 8; switch (format) { - case LTDB_PACKING_FORMAT_NODN: - message->dn = NULL; - break; - case LTDB_PACKING_FORMAT: len = strnlen((char *)p, remaining); if (len == remaining) { -- cgit