auth/credentials: Add encrypt_samr_password()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 23 Feb 2022 07:57:44 +0000 (20:57 +1300)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Mar 2022 11:55:30 +0000 (11:55 +0000)
commiteba1a9d964b8f91b687809efdec0ee58602839bc
treed27a6fde5f938462fb64904e9a825f2e1401af54
parentb308240cb4b57a9b379b26933217dee0f8d0b654
auth/credentials: Add encrypt_samr_password()

This method encrypts a samr_Password structure with the current session
key, which allows for interactive SamLogon from Python.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
auth/credentials/pycredentials.c