mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
Move the password_hash module up the module stack.
This makes it operate in all partitions (minor), but more importantly places it above some other modules that implement some extra schema checks. (The linked_attributes module objects to unknown attributes, which inclues clearTextPassword, which we need internally but is not in the schema). Andrew Bartlett
This commit is contained in:
@ -465,6 +465,7 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
|
||||
"objectclass",
|
||||
"samldb",
|
||||
"kludge_acl",
|
||||
"password_hash",
|
||||
"operational"]
|
||||
tdb_modules_list = [
|
||||
"subtree_rename",
|
||||
@ -516,7 +517,7 @@ def setup_samdb_partitions(samdb_path, setup_path, message, lp, session_info,
|
||||
"DOMAINDN_LDB": domaindn_ldb,
|
||||
"SCHEMADN_MOD": "schema_fsmo,instancetype",
|
||||
"CONFIGDN_MOD": "naming_fsmo,instancetype",
|
||||
"DOMAINDN_MOD": "pdc_fsmo,password_hash,instancetype",
|
||||
"DOMAINDN_MOD": "pdc_fsmo,instancetype",
|
||||
"MODULES_LIST": ",".join(modules_list),
|
||||
"TDB_MODULES_LIST": tdb_modules_list_as_string,
|
||||
"MODULES_LIST2": ",".join(modules_list2),
|
||||
|
Reference in New Issue
Block a user