[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.8_ctdb.57-50-g48d8f5f

Michael Adam obnox at samba.org
Wed Apr 1 22:29:35 GMT 2009


The branch, v3-2-ctdb has been updated
       via  48d8f5f071927bbd18112ff202a54bf48830d70d (commit)
      from  a213401cca8aadc65585183fdaac588b0c015023 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 48d8f5f071927bbd18112ff202a54bf48830d70d
Author: Michael Adam <obnox at samba.org>
Date:   Thu Apr 2 00:26:14 2009 +0200

    fix the build: v3-2-ctdb uses db_open(), not db_open_trans().
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/passdb/pdb_tdb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/passdb/pdb_tdb.c b/source/passdb/pdb_tdb.c
index 73e5476..56dfa47 100644
--- a/source/passdb/pdb_tdb.c
+++ b/source/passdb/pdb_tdb.c
@@ -900,8 +900,8 @@ static bool tdbsam_convert_backup(const char *dbname, struct db_context **pp_db)
 
 	/* re-open the converted TDB */
 
-	orig_db = db_open_trans(NULL, dbname, 0,
-				TDB_DEFAULT, O_CREAT|O_RDWR, 0600);
+	orig_db = db_open(NULL, dbname, 0,
+			  TDB_DEFAULT, O_CREAT|O_RDWR, 0600);
 	if (orig_db == NULL) {
 		DEBUG(0, ("tdbsam_convert_backup: Failed to re-open "
 			  "converted passdb TDB [%s]\n", dbname));


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list