diff options
Diffstat (limited to 'source3/passdb/account_pol.c')
-rw-r--r-- | source3/passdb/account_pol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c index 9c6f40107a..fa2252f1a7 100644 --- a/source3/passdb/account_pol.c +++ b/source3/passdb/account_pol.c @@ -266,7 +266,8 @@ bool init_account_policy(void) } if (version != DATABASE_VERSION) { - status = dbwrap_store_uint32(db, vstring, DATABASE_VERSION); + status = dbwrap_store_uint32_bystring(db, vstring, + DATABASE_VERSION); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("dbwrap_store_uint32 failed: %s\n", nt_errstr(status))); |