summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-03-27 10:41:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:55 -0500
commit6e2a411795cbcc8a1ceaf957ff45570fb8016dca (patch)
tree331479b8ad9c0e44ef0d1725cd046ea7227adb02
parentf61062b31d8d58f7f1ddd0f9f7932ca6f6499aaa (diff)
downloadsamba-6e2a411795cbcc8a1ceaf957ff45570fb8016dca.tar.gz
samba-6e2a411795cbcc8a1ceaf957ff45570fb8016dca.tar.bz2
samba-6e2a411795cbcc8a1ceaf957ff45570fb8016dca.zip
r21981: as we use tdb_trans_store(), we should also use tdb_trans_delete()
metze (This used to be commit 2d2f8099684c4516ed685e5bb2a21541d53645ac)
-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)