Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRET
authorMatthew Chapman <matty@samba.org>
Thu, 18 Mar 1999 05:16:59 +0000 (05:16 +0000)
committerMatthew Chapman <matty@samba.org>
Thu, 18 Mar 1999 05:16:59 +0000 (05:16 +0000)
commite8ac69c16877dd827719134dbce49f4aa3608c9d
tree8b2bc2837d284f32b9f871563f7c0e1b5caf6c06
parent5a6db490ea56d6492f268b8c5fbc2bc017ba87b6
Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRET
(-> LsarQuerySecret) on client side, including rpcclient command
"querysecret" for others to play with.

The major obstacle is working out the encryption algorithm used
for the secret value. It definitely uses the NT hash as part of the
key, and it seems the block size is 64 bits - probably DES based -
but I can't work out what's done in between. Help required.
(This used to be commit 365fa3b5fbf551670acc91f593138a7e91a5f7fa)
source3/include/proto.h
source3/include/rpc_lsa.h
source3/include/rpc_misc.h
source3/rpc_client/cli_lsarpc.c
source3/rpc_parse/parse_lsa.c
source3/rpc_parse/parse_misc.c
source3/rpcclient/cmd_lsarpc.c
source3/rpcclient/rpcclient.c