mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a59c9cba31
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>
38 lines
843 B
Python
38 lines
843 B
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_LIBNETAPI',
|
|
source='gen_ndr/ndr_libnetapi.c',
|
|
public_deps='ndr'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_LIBNET_JOIN',
|
|
source='gen_ndr/ndr_libnet_join.c',
|
|
public_deps='ndr krb5samba'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_OPEN_FILES',
|
|
source='gen_ndr/ndr_open_files.c',
|
|
public_deps='ndr NDR_SERVER_ID NDR_FILE_ID NDR_SECURITY NDR_SMB2_LEASE_STRUCT'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_SMBXSRV',
|
|
source='gen_ndr/ndr_smbXsrv.c',
|
|
public_deps='ndr NDR_SERVER_ID NDR_SECURITY NDR_AUTH'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_LEASES_DB',
|
|
source='gen_ndr/ndr_leases_db.c',
|
|
public_deps='ndr'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_SECRETS',
|
|
source='gen_ndr/ndr_secrets.c',
|
|
public_deps='ndr NDR_SAMR NDR_LSA NDR_NETLOGON NDR_SECURITY'
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('NDR_PERFCOUNT',
|
|
source='gen_ndr/ndr_perfcount.c',
|
|
public_deps='ndr'
|
|
)
|
|
|