diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/account_pol.c | 6 | ||||
-rw-r--r-- | source3/passdb/pdb_tdb.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c index 4cb185c494..9c6f40107a 100644 --- a/source3/passdb/account_pol.c +++ b/source3/passdb/account_pol.c @@ -233,7 +233,7 @@ bool init_account_policy(void) } } - status = dbwrap_fetch_uint32(db, vstring, &version); + status = dbwrap_fetch_uint32_bystring(db, vstring, &version); if (!NT_STATUS_IS_OK(status)) { version = 0; } @@ -250,7 +250,7 @@ bool init_account_policy(void) return false; } - status = dbwrap_fetch_uint32(db, vstring, &version); + status = dbwrap_fetch_uint32_bystring(db, vstring, &version); if (!NT_STATUS_IS_OK(status)) { version = 0; } @@ -340,7 +340,7 @@ bool account_policy_get(enum pdb_policy_type type, uint32_t *value) return False; } - status = dbwrap_fetch_uint32(db, name, ®val); + status = dbwrap_fetch_uint32_bystring(db, name, ®val); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("account_policy_get: tdb_fetch_uint32 failed for type %d (%s), returning 0\n", type, name)); return False; diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 3faa4cf75d..43e561bd93 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -329,7 +329,7 @@ static bool tdbsam_upgrade_next_rid(struct db_context *db) bool ok = false; NTSTATUS status; - status = dbwrap_fetch_uint32(db, NEXT_RID_STRING, &rid); + status = dbwrap_fetch_uint32_bystring(db, NEXT_RID_STRING, &rid); if (NT_STATUS_IS_OK(status)) { return true; } |