summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index 15c79745a0..ebdf28c241 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -117,7 +117,7 @@ BOOL secrets_delete(const char *key)
secrets_init();
if (!tdb)
return False;
- return tdb_delete(tdb, string_tdb_data(key)) == 0;
+ return tdb_trans_delete(tdb, string_tdb_data(key)) == 0;
}
BOOL secrets_store_domain_sid(const char *domain, const DOM_SID *sid)