From: Douglas Bagnall Date: Thu, 22 Feb 2024 03:51:56 +0000 (+1300) Subject: samba-tool domain: add kds sub-branch X-Git-Tag: tdb-1.4.11~1638 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd9740272eeabdc278e49c3af30862146a48168;p=thirdparty%2Fsamba.git samba-tool domain: add kds sub-branch Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/netcmd/domain/__init__.py b/python/samba/netcmd/domain/__init__.py index 1c527f1baec..b9b31a5ae8e 100644 --- a/python/samba/netcmd/domain/__init__.py +++ b/python/samba/netcmd/domain/__init__.py @@ -36,6 +36,7 @@ from .demote import cmd_domain_demote from .functional_prep import cmd_domain_functional_prep from .info import cmd_domain_info from .join import cmd_domain_join +from .kds import cmd_domain_kds from .keytab import cmd_domain_export_keytab from .leave import cmd_domain_leave from .level import cmd_domain_level @@ -62,6 +63,7 @@ class cmd_domain(SuperCommand): subcommands["demote"] = cmd_domain_demote() subcommands["provision"] = cmd_domain_provision() subcommands["dcpromo"] = cmd_domain_dcpromo() + subcommands["kds"] = cmd_domain_kds() subcommands["level"] = cmd_domain_level() subcommands["passwordsettings"] = cmd_domain_passwordsettings() subcommands["classicupgrade"] = cmd_domain_classicupgrade() diff --git a/python/samba/netcmd/domain/kds/__init__.py b/python/samba/netcmd/domain/kds/__init__.py new file mode 100644 index 00000000000..990de25a9db --- /dev/null +++ b/python/samba/netcmd/domain/kds/__init__.py @@ -0,0 +1,29 @@ +# Unix SMB/CIFS implementation. +# +# samba-tool commands for Key Distribution Services +# +# Copyright © Catalyst.Net Ltd. 2024 +# +# 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 + + +class cmd_domain_kds(SuperCommand): + """Key Distribution Service management.""" + + subcommands = { + + }