summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c
index fa2252f1a7..c94df2961a 100644
--- a/source3/passdb/account_pol.c
+++ b/source3/passdb/account_pol.c
@@ -375,7 +375,7 @@ bool account_policy_set(enum pdb_policy_type type, uint32_t value)
return False;
}
- status = dbwrap_trans_store_uint32(db, name, value);
+ status = dbwrap_trans_store_uint32_bystring(db, name, value);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("store_uint32 failed for type %d (%s) on value "
"%u: %s\n", type, name, value, nt_errstr(status)));