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>
Tue, 27 Jun 2017 14:57:45 +0000 (16:57 +0200)
commitbfe35abc1fb15e70a99fa74d064051a1ad541ed0
tree3b5e03bd3e895f9e44455057118ae4b3068f5820
parentdfaadc81925e313901c9b30cd98a4b4fd2404f9d
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>
source3/passdb/machine_account_secrets.c