diff options
Diffstat (limited to 'source3/passdb/account_pol.c')
-rw-r--r-- | source3/passdb/account_pol.c | 6 |
1 files changed, 3 insertions, 3 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; |