scripting ntacls: Do not place a SACL in the GPO filesystem ACL
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Nov 2012 05:03:27 +0000 (16:03 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 13 Nov 2012 23:34:50 +0000 (00:34 +0100)
On a new GPO created on windows, the SACL is not used.

Andrew Bartlett

Reviewed by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Nov 14 00:34:50 CET 2012 on sn-devel-104

source4/scripting/python/samba/ntacls.py

index 89d450a1f10ecbf8de71c24c690b30e030dc1931..8992b61266de3745d18dfd676e00fb02202aa52b 100644 (file)
@@ -211,7 +211,6 @@ def dsacl2fsacl(dssddl, sid):
     fdescr.group_sid = ref.group_sid
     fdescr.type = ref.type
     fdescr.revision = ref.revision
     fdescr.group_sid = ref.group_sid
     fdescr.type = ref.type
     fdescr.revision = ref.revision
-    fdescr.sacl = ref.sacl
     aces = ref.dacl.aces
     for i in range(0, len(aces)):
         ace = aces[i]
     aces = ref.dacl.aces
     for i in range(0, len(aces)):
         ace = aces[i]