summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-05-22 12:40:05 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-27 16:57:45 +0200
commitcf8a4646fe71a974b6a5ee13ae7d7751a5a0adc9 (patch)
tree43543af849a1d0ff9892981212290fe1d3de223c /source3/libnet
parent5bc2764fe517748c03a57b61f2f7ef889c92825d (diff)
downloadsamba-cf8a4646fe71a974b6a5ee13ae7d7751a5a0adc9.tar.gz
s3:secrets: let secrets_delete_machine_password_ex() remove SID and GUID too
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>
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 7669c2e0a4d..9a2f2272b97 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1705,10 +1705,6 @@ static bool libnet_join_unjoindomain_remove_secrets(TALLOC_CTX *mem_ctx,
return false;
}
- if (!secrets_delete_domain_sid(lp_workgroup())) {
- return false;
- }
-
return true;
}