mirror of
https://github.com/samba-team/samba.git
synced 2025-07-05 04:59:08 +03:00
samba-tool: Added "dsacl" command
Added "dsacl" command to substitute "acl ds" 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
1a6a626a45
commit
7a609d827e
@ -45,7 +45,9 @@ from samba.netcmd import (
|
||||
Option,
|
||||
)
|
||||
|
||||
class cmd_ds_acl_set(Command):
|
||||
|
||||
|
||||
class cmd_dsacl_set(Command):
|
||||
"""Modify access list on a directory object"""
|
||||
|
||||
synopsis = "set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn"
|
||||
@ -170,8 +172,8 @@ class cmd_ds_acl_set(Command):
|
||||
self.print_new_acl(samdb, objectdn)
|
||||
|
||||
|
||||
class cmd_ds_acl(SuperCommand):
|
||||
class cmd_dsacl(SuperCommand):
|
||||
"""DS ACLs manipulation"""
|
||||
|
||||
subcommands = {}
|
||||
subcommands["set"] = cmd_ds_acl_set()
|
||||
subcommands["set"] = cmd_dsacl_set()
|
||||
|
Reference in New Issue
Block a user