mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
samba-tool: Removed "acl" command
Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
6484e142dc
commit
62379dde23
@ -25,7 +25,6 @@ sys.path.insert(0, "bin/python")
|
|||||||
|
|
||||||
from samba import netcmd
|
from samba import netcmd
|
||||||
from samba.netcmd import SuperCommand
|
from samba.netcmd import SuperCommand
|
||||||
from samba.netcmd.netacl import cmd_acl
|
|
||||||
from samba.netcmd.dbcheck import cmd_dbcheck
|
from samba.netcmd.dbcheck import cmd_dbcheck
|
||||||
from samba.netcmd.delegation import cmd_delegation
|
from samba.netcmd.delegation import cmd_delegation
|
||||||
from samba.netcmd.domain import cmd_domain
|
from samba.netcmd.domain import cmd_domain
|
||||||
@ -48,7 +47,6 @@ class cmd_sambatool(SuperCommand):
|
|||||||
"""samba-tool SuperCommand"""
|
"""samba-tool SuperCommand"""
|
||||||
|
|
||||||
subcommands = {}
|
subcommands = {}
|
||||||
subcommands["acl"] = cmd_acl()
|
|
||||||
subcommands["dbcheck"] = cmd_dbcheck()
|
subcommands["dbcheck"] = cmd_dbcheck()
|
||||||
subcommands["delegation"] = cmd_delegation()
|
subcommands["delegation"] = cmd_delegation()
|
||||||
subcommands["domain"] = cmd_domain()
|
subcommands["domain"] = cmd_domain()
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
#
|
|
||||||
# Manipulate ACLs
|
|
||||||
#
|
|
||||||
# Copyright (C) Matthieu Patou <mat@matws.net> 2010
|
|
||||||
# Copyright (C) Nadezhda Ivanova <nivanova@samba.org> 2010
|
|
||||||
# Copyright Giampaolo Lauria 2011 <lauria2@yahoo.com>
|
|
||||||
#
|
|
||||||
# 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 <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
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()
|
|
Reference in New Issue
Block a user