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)
commit365fa3b5fbf551670acc91f593138a7e91a5f7fa
treeb2c8f8f620284d25ebebed20d9fc61c8c04c9fed
parentbaf55934dc5118f8c423fe05c0e4b8d7c018fa14
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.
source/include/proto.h
source/include/rpc_lsa.h
source/include/rpc_misc.h
source/rpc_client/cli_lsarpc.c
source/rpc_parse/parse_lsa.c
source/rpc_parse/parse_misc.c
source/rpcclient/cmd_lsarpc.c
source/rpcclient/rpcclient.c