From 7f19a5ab52ac6ecb380a49ec14072d0fd501f9db Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 14 Jun 2012 20:39:27 +0200 Subject: dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring Signed-off-by: Michael Adam --- source3/passdb/account_pol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/passdb/account_pol.c') 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; -- cgit