summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/machine_account_secrets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
index 70a8277bd57..9a96a3f38fb 100644
--- a/source3/passdb/machine_account_secrets.c
+++ b/source3/passdb/machine_account_secrets.c
@@ -400,25 +400,25 @@ bool secrets_delete_machine_password_ex(const char *domain, const char *realm)
}
tmpkey = machine_password_keystr(domain);
- ok = secrets_delete_entry(tmpkey);
+ ok = secrets_delete(tmpkey);
if (!ok) {
return false;
}
tmpkey = machine_sec_channel_type_keystr(domain);
- ok = secrets_delete_entry(tmpkey);
+ ok = secrets_delete(tmpkey);
if (!ok) {
return false;
}
tmpkey = machine_last_change_time_keystr(domain);
- ok = secrets_delete_entry(tmpkey);
+ ok = secrets_delete(tmpkey);
if (!ok) {
return false;
}
tmpkey = domain_sid_keystr(domain);
- ok = secrets_delete_entry(tmpkey);
+ ok = secrets_delete(tmpkey);
if (!ok) {
return false;
}