summaryrefslogtreecommitdiffstats
path: root/source/lib/account_pol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/account_pol.c')
-rw-r--r--source/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/account_pol.c b/source/lib/account_pol.c
index b5f205c5086..6f51c916d71 100644
--- a/source/lib/account_pol.c
+++ b/source/lib/account_pol.c
@@ -45,7 +45,7 @@ BOOL init_account_policy(void)
local_pid = sys_getpid();
/* handle a Samba upgrade */
- tdb_lock_bystring(tdb, vstring);
+ tdb_lock_bystring(tdb, vstring,0);
if (!tdb_fetch_uint32(tdb, vstring, &version) || version != DATABASE_VERSION) {
tdb_traverse(tdb, tdb_traverse_delete_fn, NULL);
tdb_store_uint32(tdb, vstring, DATABASE_VERSION);