1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

setup:adprep: Import the latest {Domain-Wide,Forest-Wide,Read-Only-Domain-Controller,Schema}-Updates.md

Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Jennifer Sutton
2025-06-17 17:04:45 +12:00
committed by Douglas Bagnall
parent 32bfbc788d
commit 10d0d97006
5 changed files with 431 additions and 93 deletions

View File

@@ -112,9 +112,9 @@ def extract_dn(text):
if dn == 'CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services':
return 'CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,${CONFIG_DN}'
# Granting the "CN=Send-As,CN=Extended-Rights" to gMSA accounts.
if dn.endswith(',CN=Extended-Rights" to gMSA accounts.'):
dn = dn.replace('" to gMSA accounts.', '')
# Granting the `CN=Send-As,CN=Extended-Rights` to gMSA accounts.
if dn.endswith(',CN=Extended-Rights to gMSA accounts.'):
dn = dn.replace(' to gMSA accounts.', '')
return dn + ",${CONFIG_DN}"
return dn