summaryrefslogtreecommitdiff
path: root/source4/lib/samba3/idmap.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-25 19:02:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:35 -0500
commit69fb6840637e07318914d632571c8481f3573461 (patch)
tree0a1dd4cc4b91ab314ce02ea20c219a67c05aa154 /source4/lib/samba3/idmap.c
parent9bf5e494f7ccbb2a9587dce961a99fa07392bf97 (diff)
downloadsamba-69fb6840637e07318914d632571c8481f3573461.tar.gz
samba-69fb6840637e07318914d632571c8481f3573461.tar.bz2
samba-69fb6840637e07318914d632571c8481f3573461.zip
r9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif)
(This used to be commit dc6aab8d4a6d0fe47756c90d3d311b6009d571ff)
Diffstat (limited to 'source4/lib/samba3/idmap.c')
-rw-r--r--source4/lib/samba3/idmap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/lib/samba3/idmap.c b/source4/lib/samba3/idmap.c
index 1583ad4476..ce3d098d3a 100644
--- a/source4/lib/samba3/idmap.c
+++ b/source4/lib/samba3/idmap.c
@@ -41,7 +41,6 @@
NTSTATUS samba3_read_idmap( const char *fn, TALLOC_CTX *ctx, struct samba3_idmapdb *idmap )
{
- int32_t version;
TDB_CONTEXT *tdb;
TDB_DATA key, val;
@@ -51,13 +50,6 @@ NTSTATUS samba3_read_idmap( const char *fn, TALLOC_CTX *ctx, struct samba3_idmap
return NT_STATUS_UNSUCCESSFUL;
}
- /* check against earlier versions */
- version = tdb_fetch_int32(tdb, "IDMAP_VERSION");
- if (version != IDMAP_VERSION) {
- DEBUG(0, ("idmap_init: Unable to open idmap database, it's in an old format!\n"));
- return NT_STATUS_INTERNAL_DB_ERROR;
- }
-
idmap->mapping_count = 0;
idmap->mappings = NULL;
idmap->user_hwm = tdb_fetch_int32(tdb, HWM_USER);