From 62379dde2389082f17fea6fdaa3821419fdd38a3 Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Tue, 30 Aug 2011 17:22:06 -0400 Subject: [PATCH] samba-tool: Removed "acl" command Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs Signed-off-by: Andrew Bartlett --- source4/scripting/bin/samba-tool | 2 -- source4/scripting/python/samba/netcmd/netacl.py | 34 ------------------------- 2 files changed, 36 deletions(-) delete mode 100644 source4/scripting/python/samba/netcmd/netacl.py diff --git a/source4/scripting/bin/samba-tool b/source4/scripting/bin/samba-tool index 59c0b72b13f..2e920410768 100755 --- a/source4/scripting/bin/samba-tool +++ b/source4/scripting/bin/samba-tool @@ -25,7 +25,6 @@ sys.path.insert(0, "bin/python") from samba import netcmd from samba.netcmd import SuperCommand -from samba.netcmd.netacl import cmd_acl from samba.netcmd.dbcheck import cmd_dbcheck from samba.netcmd.delegation import cmd_delegation from samba.netcmd.domain import cmd_domain @@ -48,7 +47,6 @@ class cmd_sambatool(SuperCommand): """samba-tool SuperCommand""" subcommands = {} - subcommands["acl"] = cmd_acl() subcommands["dbcheck"] = cmd_dbcheck() subcommands["delegation"] = cmd_delegation() subcommands["domain"] = cmd_domain() diff --git a/source4/scripting/python/samba/netcmd/netacl.py b/source4/scripting/python/samba/netcmd/netacl.py deleted file mode 100644 index 9138bc678ad..00000000000 --- a/source4/scripting/python/samba/netcmd/netacl.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# -# Manipulate ACLs -# -# Copyright (C) Matthieu Patou 2010 -# Copyright (C) Nadezhda Ivanova 2010 -# Copyright Giampaolo Lauria 2011 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# - -from samba.netcmd import ( - SuperCommand, - ) -from samba.netcmd.ntacl import cmd_ntacl -from samba.netcmd.dsacl import cmd_dsacl - -class cmd_acl(SuperCommand): - """NT ACLs manipulation""" - - subcommands = {} - subcommands["nt"] = cmd_ntacl() - subcommands["ds"] = cmd_dsacl() -- 2.11.4.GIT