source4/scripting/bin: Swap machine account password scripts
authorAndrew Bartlett <abartlet@samba.org>
Mon, 3 Feb 2020 03:45:45 +0000 (16:45 +1300)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Feb 2020 14:57:42 +0000 (14:57 +0000)
commitd3b385d59634927a4ddbfa7885ac5f2e004f4e03
tree84235262afd68a09cc754a70f862e4e3492495e5
parent76e1206717e76dadc212f3363d3faeb66b18c7e7
source4/scripting/bin: Swap machine account password scripts

I regularly get requests for my simple script to print the
password from the secrets.tdb (or secrets.ldb on the AD DC).

This removes the old script that only reads the secrets.ldb.

Neither new nor old script has tests, however it seems
better to have it in the tree where it can be found rather
that me digging it out of my outbound e-mail.

Originally posted here:
 https://lists.samba.org/archive/samba/2017-November/212362.html

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/usage
source4/scripting/bin/machineaccountpw [new file with mode: 0755]
source4/scripting/bin/mymachinepw [deleted file]