samba-tool: add 'user getpassword' command

Enterprise / Samba - Stefan Metzmacher [samba.org] - 22 July 2016 09:03 UTC

This provides an easy way to get the passwords of a user including the cleartext passwords (if stored) and derived hashes. This is done by providing virtual attributes like:
virtualClearTextUTF16, virtualClearTextUTF8,
virtualCryptSHA256, virtualCryptSHA512, virtualSSHA

This is much easier than using ldbsearch and manually parsing the supplementalCredentials attribute.

deb2a02 samba-tool: add 'user getpassword' command
python/samba/netcmd/user.py | 408 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 408 insertions(+)

Upstream: gitweb.samba.org


  • Share