diff options
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index c9c8cdcaeb2..6732e3c42e0 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -76,7 +76,7 @@ static bool init_group_mapping(void) /* if its an unknown version we remove everthing in the db */ if (vers_id != DATABASE_VERSION_V2) { - tdb_traverse(tdb, tdb_traverse_delete_fn, NULL); + tdb_wipe(tdb); tdb_store_int32(tdb, vstring, DATABASE_VERSION_V2); } |