libds:common Remove DS_DC_* domain functionality flags
[Samba/gebeck_regimport.git] / source4 / scripting / python / samba / netcmd / netacl.py
blob41764a56e1abddd0f0bd2dd44a954c7f73e73e50
1 #!/usr/bin/python
3 # Manipulate ACLs
5 # Copyright (C) Matthieu Patou <mat@matws.net> 2010
6 # Copyright (C) Nadezhda Ivanova <nivanova@samba.org> 2010
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22 from samba.netcmd import (
23 SuperCommand,
25 from samba.netcmd.ntacl import cmd_nt_acl
26 from samba.netcmd.dsacl import cmd_ds_acl
28 class cmd_acl(SuperCommand):
29 """NT ACLs manipulation"""
31 subcommands = {}
32 subcommands["nt"] = cmd_nt_acl()
33 subcommands["ds"] = cmd_ds_acl()