mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
r12599: This new LDB module (and associated changes) allows Samba4 to operate
using pre-calculated passwords for all kerberos key types.
(Previously we could only use these for the NT# type).
The module handles all of the hash/string2key tasks for all parts of
Samba, which was previously in the rpc_server/samr/samr_password.c
code. We also update the msDS-KeyVersionNumber, and the password
history. This new module can be called at provision time, which
ensures we start with a database that is consistent in this respect.
By ensuring that the krb5key attribute is the only one we need to
retrieve, this also simplifies the run-time KDC logic. (Each value of
the multi-valued attribute is encoded as a 'Key' in ASN.1, using the
definition from Heimdal's HDB. This simplfies the KDC code.).
It is hoped that this will speed up the KDC enough that it can again
operate under valgrind.
(This used to be commit e902274321)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1c027f35d7
commit
c82c9fe7bb
@@ -136,6 +136,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
|
||||
{ "samba3sam", ldb_samba3sam_module_init },
|
||||
{ "proxy", proxy_module_init },
|
||||
{ "rootdse", rootdse_module_init },
|
||||
{ "password_hash", password_hash_module_init },
|
||||
#endif
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user