s3:secrets: use secrets_delete for all keys in secrets_delete_machine_password_ex()
authorStefan Metzmacher <metze@samba.org>
Wed, 24 May 2017 03:56:32 +0000 (05:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 18:01:28 +0000 (20:01 +0200)
commit324af7571c9fe96c77ff3dce1adcceb2870a53ab
tree8c7e5a2012d834a89dc3830e27f3bc73eaba26be
parent748172221a6a359ced903abaf3a6d83a819e214c
s3:secrets: use secrets_delete for all keys in secrets_delete_machine_password_ex()

We just want all values to be removed at the end, it doesn't matter
if they didn't existed before.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit bfe35abc1fb15e70a99fa74d064051a1ad541ed0)
source3/passdb/machine_account_secrets.c