secrets.idl: add secrets_domain_info that will be used in secrets.tdb for machine...
authorStefan Metzmacher <metze@samba.org>
Wed, 17 May 2017 08:11:18 +0000 (10:11 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 08:51:20 +0000 (10:51 +0200)
commit97b72e3f1cdddcd11964e96b9d549a1b6ebfbbd3
treed70a2099641e719d38663024338008faff196340
parent4d66652062f57292a259258a9536dd2941e9e0e2
secrets.idl: add secrets_domain_info that will be used in secrets.tdb for machine account trusts

This blob will be store in secrets.tdb. It makes it possible to store much
more useful details about the workstation trust.

The key feature that that triggered this change is the ability
to store details for the next password change before doing
the remote change. This will allow us to recover from failures.

While being there I also thought about possible new features,
which we may implement in the near future.

We also store the raw UTF16 like cleartext buffer as well as derived
keys like the NTHASH (arcfour-hmac-md5 key) and other kerberos keys.
This will allow us to avoid recalculating the keys for an in memory
keytab in future.

I also added pointer to an optional lsa_ForestTrustInformation structure,
which might be useful to implement multi-tenancy in future.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit a59c9cba31a801d90db06b767cfd44776f4ede77)
source3/librpc/idl/secrets.idl
source3/librpc/wscript_build