diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-14 20:30:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-15 12:14:27 +0200 |
commit | 749314fcf99cef4a1a162d622e10b6eb8998938f (patch) | |
tree | edb8bf82c76fb96ee4a125f147e33273641416fd /source3/passdb | |
parent | 737c0a54731803c84f0f29d96dd40ac819aec3e8 (diff) | |
download | samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.gz samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.xz samba-749314fcf99cef4a1a162d622e10b6eb8998938f.zip |
dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 067c364370..3faa4cf75d 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -392,16 +392,16 @@ static bool tdbsam_convert(struct db_context **pp_db, const char *name, int32 fr goto cancel; } - status = dbwrap_store_int32(db, TDBSAM_VERSION_STRING, - TDBSAM_VERSION); + status = dbwrap_store_int32_bystring(db, TDBSAM_VERSION_STRING, + TDBSAM_VERSION); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("tdbsam_convert: Could not store tdbsam version: " "%s\n", nt_errstr(status))); goto cancel; } - status = dbwrap_store_int32(db, TDBSAM_MINOR_VERSION_STRING, - TDBSAM_MINOR_VERSION); + status = dbwrap_store_int32_bystring(db, TDBSAM_MINOR_VERSION_STRING, + TDBSAM_MINOR_VERSION); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("tdbsam_convert: Could not store tdbsam minor " "version: %s\n", nt_errstr(status))); |