]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool domain: add kds sub-branch
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 22 Feb 2024 03:51:56 +0000 (16:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 00:19:45 +0000 (00:19 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain/__init__.py
python/samba/netcmd/domain/kds/__init__.py [new file with mode: 0644]

index 1c527f1baec00efde7308283fabbe4a3ad76c4e4..b9b31a5ae8e5675dbbe4d93a9d2eb71ef23054fd 100644 (file)
@@ -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 (file)
index 0000000..990de25
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.
+#
+
+from samba.netcmd import SuperCommand
+
+
+class cmd_domain_kds(SuperCommand):
+    """Key Distribution Service management."""
+
+    subcommands = {
+
+    }