diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-27 17:39:58 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-01 14:04:21 +0200 |
commit | a114125f892aff9abca529fe6d94932681387ecd (patch) | |
tree | 70402f67d51b54ea1f56178385083663144e9ad5 /source3 | |
parent | 04ab83917043168911da4fd10fae8188e77a2d38 (diff) | |
download | samba-a114125f892aff9abca529fe6d94932681387ecd.tar.gz samba-a114125f892aff9abca529fe6d94932681387ecd.tar.bz2 samba-a114125f892aff9abca529fe6d94932681387ecd.zip |
mapping_tdb: use db_open_trans()
metze
(This used to be commit 16d18df0d069aec645c41e38e8c926ccdaac9388)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index aab337da6a..7c864e1340 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -38,8 +38,8 @@ static bool init_group_mapping(void) return true; } - db = db_open(NULL, state_path("group_mapping.tdb"), 0, TDB_DEFAULT, - O_RDWR|O_CREAT, 0600); + db = db_open_trans(NULL, state_path("group_mapping.tdb"), 0, + TDB_DEFAULT, O_RDWR|O_CREAT, 0600); if (db == NULL) { DEBUG(0, ("Failed to open group mapping database: %s\n", strerror(errno))); |