1
0
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:
Giampaolo Lauria
2011-08-30 17:09:53 -04:00
committed by Andrew Bartlett
parent 1a6a626a45
commit 7a609d827e
3 changed files with 9 additions and 5 deletions

View File

@ -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()