From: Joe Guo Date: Sun, 29 Jul 2018 23:50:18 +0000 (+1200) Subject: descriptor: add missing backslash for long sddl str X-Git-Tag: tdb-1.3.17~2143 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=d313e0e48dac6d517227cf1eff241bd7016b0dde;p=samba.git descriptor: add missing backslash for long sddl str Find this bug while doing PEP8. We are lucky this code was not used yet. Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/descriptor.py b/python/samba/descriptor.py index 1e56e5398f8..7a55e27cbdd 100644 --- a/python/samba/descriptor.py +++ b/python/samba/descriptor.py @@ -374,8 +374,8 @@ def get_dns_domain_microsoft_dns_descriptor(domain_sid, name_map={}): def get_paritions_crossref_subdomain_descriptor(domain_sid, name_map={}): sddl = "O:SubdomainAdminsG:SubdomainAdminsD:AI" \ - "(A;;RPWPCRCCLCLORCWOWDSW;;;SubdomainAdmins)" - "(A;;RPLCLORC;;;AU)" + "(A;;RPWPCRCCLCLORCWOWDSW;;;SubdomainAdmins)" \ + "(A;;RPLCLORC;;;AU)" \ "(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)" return sddl2binary(sddl, domain_sid, name_map)