Changeset 656 for trunk/server/source3/passdb
- Timestamp:
- Nov 8, 2011, 6:50:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/passdb/pdb_tdb.c
r414 r656 339 339 int ret; 340 340 341 DEBUG(0,("@todo: tdbsam_convert: tdbsam_convert_backup\n")); 341 342 /* We only need the update backup for local db's. */ 342 343 if (db_is_local(name) && !tdbsam_convert_backup(name, pp_db)) { … … 349 350 state.success = true; 350 351 352 DEBUG(0,("@todo: tdbsam_convert: transaction_start\n")); 351 353 if (db->transaction_start(db) != 0) { 352 354 DEBUG(0, ("tdbsam_convert: Could not start transaction\n")); … … 354 356 } 355 357 358 DEBUG(0,("@todo: tdbsam_convert: tdbsam_upgrade_next_rid\n")); 356 359 if (!tdbsam_upgrade_next_rid(db)) { 357 360 DEBUG(0, ("tdbsam_convert: tdbsam_upgrade_next_rid failed\n")); … … 359 362 } 360 363 364 DEBUG(0,("@todo: tdbsam_convert: traverse\n")); 361 365 ret = db->traverse(db, tdbsam_convert_one, &state); 362 366 if (ret < 0) { … … 370 374 } 371 375 376 DEBUG(0,("@todo: tdbsam_convert: dbwrap_store_int32 major\n")); 372 377 if (dbwrap_store_int32(db, TDBSAM_VERSION_STRING, 373 378 TDBSAM_VERSION) != 0) { … … 375 380 goto cancel; 376 381 } 377 382 DEBUG(0,("@todo: tdbsam_convert: dbwrap_store_int32 minor\n")); 378 383 if (dbwrap_store_int32(db, TDBSAM_MINOR_VERSION_STRING, 379 384 TDBSAM_MINOR_VERSION) != 0) { … … 382 387 } 383 388 389 DEBUG(0,("@todo: tdbsam_convert: transaction_commit\n")); 384 390 if (db->transaction_commit(db) != 0) { 385 391 DEBUG(0, ("tdbsam_convert: Could not commit transaction\n")); … … 390 396 391 397 cancel: 398 DEBUG(0,("@todo: tdbsam_convert: transaction_cancel\n")); 392 399 if (db->transaction_cancel(db) != 0) { 393 400 smb_panic("tdbsam_convert: transaction_cancel failed");
Note:
See TracChangeset
for help on using the changeset viewer.