descriptor: add missing backslash for long sddl str
authorJoe Guo <joeg@catalyst.net.nz>
Sun, 29 Jul 2018 23:50:18 +0000 (11:50 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 Aug 2018 00:58:26 +0000 (02:58 +0200)
Find this bug while doing PEP8.
We are lucky this code was not used yet.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/descriptor.py

index 1e56e5398f87dad5ab103ff5a8a1a68a98fd3a7d..7a55e27cbddcbeedfa1f9d33191a51d939ac9328 100644 (file)
@@ -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)