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:
committed by
Douglas Bagnall
parent
32bfbc788d
commit
10d0d97006
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user