s3:net_idmap_dump support dumping autorid backend
authorChristian Ambach <ambi@samba.org>
Thu, 29 Nov 2012 20:40:15 +0000 (21:40 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 29 Jan 2013 12:46:35 +0000 (13:46 +0100)
commit3a4ed4803f2b911e58420531548cb5658cb9fb74
tree54a796eaed509edc8d44fa059ecaf175e3b4427b
parent580008f307e0883a11be6b1ece8342642760f41e
s3:net_idmap_dump support dumping autorid backend

- remember the type of idmapping database (tdb or autorid)
  this allows to make rest of the code (e.g. dump) know which database-style it will encounter
- add a seperate dump function for autorid
- default to TDB if db-file is given on the command-line

Pair-Programmed-With: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>

Signed-off-by: Christian Ambach <ambi@samba.org>
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/net_idmap.c