1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

domain_update: make use of '"CN"' in sddl instead of using an explicit SID

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2023-03-13 11:57:14 +01:00 committed by Andrew Bartlett
parent a10f4f7cd2
commit c87f2606ae

View File

@ -327,7 +327,7 @@ objectClass: msTPM-InformationObjectsContainer
return
self.raise_if_not_fix(op)
ace = "(OA;;CR;3e0f7e18-2c7a-4c10-ba82-4d926db99a3e;;%s-522)" % str(self.domain_sid)
ace = "(OA;;CR;3e0f7e18-2c7a-4c10-ba82-4d926db99a3e;;CN)"
res = self.samdb.search(base=self.domain_dn,
scope=ldb.SCOPE_BASE,