summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-27 16:57:10 +0100
committerMichael Adam <obnox@samba.org>2008-03-27 18:14:57 +0100
commitdbd2e3860dc5855833da0673427ac655e99d33d3 (patch)
tree5562432adaa7b7d266fd06a150f10a8db2dd2b12 /source3/passdb
parent7d413b8beec4f47b1acd79bbcd1c9d1178a16d7a (diff)
downloadsamba-dbd2e3860dc5855833da0673427ac655e99d33d3.tar.gz
samba-dbd2e3860dc5855833da0673427ac655e99d33d3.tar.bz2
samba-dbd2e3860dc5855833da0673427ac655e99d33d3.zip
pdb_tdb: use db_open_trans()
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 9925cc01a2a4739d6cde5991eb0d0b79ae13353b)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index c3ee188010..b41a7cc0a4 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -832,7 +832,7 @@ static bool tdbsam_open( const char *name )
/* Try to open tdb passwd. Create a new one if necessary */
- db_sam = db_open(NULL, name, 0, TDB_DEFAULT, O_CREAT|O_RDWR, 0600);
+ db_sam = db_open_trans(NULL, name, 0, TDB_DEFAULT, O_CREAT|O_RDWR, 0600);
if (db_sam == NULL) {
DEBUG(0, ("tdbsam_open: Failed to open/create TDB passwd "
"[%s]\n", name));