From: Pavel Filipenský Date: Tue, 6 Aug 2024 21:31:21 +0000 (+0200) Subject: docs: Add examples to net.8 that use 'sync machine password to keytab' X-Git-Tag: tdb-1.4.13~1393 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb774a74c4e1cc03ad0267cc68b93c06738e2ce6;p=thirdparty%2Fsamba.git docs: Add examples to net.8 that use 'sync machine password to keytab' BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Pavel Filipenský Signed-off-by: Stefan Metzmacher --- diff --git a/docs-xml/manpages/net.8.xml b/docs-xml/manpages/net.8.xml index f0b3df793d4..e633c8c7c6a 100644 --- a/docs-xml/manpages/net.8.xml +++ b/docs-xml/manpages/net.8.xml @@ -1558,8 +1558,28 @@ are made to the computer AD account. -ADS KEYTAB <replaceable>ADD</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> +(Removed!) ADS KEYTAB <replaceable>ADD</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> + +This command is no longer available in Samba 4.21.0 and newer. See for replacement. + + +To replace e.g. call of + +net ads keytab add wurst/brot@REALM + +Add to smb.conf: + +sync machine password to keytab = /path/to/keytab1:spns=wurst/brot@REALM:machine_password + +and run: + +net ads keytab create + + + +Original description of this command: + Adds a new keytab entry, the entry can be either; @@ -1600,7 +1620,48 @@ available. -ADS KEYTAB <replaceable>ADD_UPDATE_ADS</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> +(Removed!) ADS KEYTAB <replaceable>DELETE</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> + + +This command is no longer available in Samba 4.21.0 and newer. See for replacement. + + + +To replace e.g. call of + +net ads keytab delete wurst/brot@REALM + +Delete from principal "wurst/brot@REALM" and run: + +net ads keytab create + + + + + + +(Removed!) ADS KEYTAB <replaceable>ADD_UPDATE_ADS</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> + +This command is no longer available in Samba 4.21.0 and newer. See for replacement. + + +To replace e.g. call of + +net ads keytab add_update_ads wurst/brot@REALM + +Add to smb.conf: + +sync machine password to keytab = /path/to/keytab2:sync_spns:machine_password + +and run: + +net ads setspn add wurst/brot@REALM +net ads keytab create + + + +Original description of this command: + Adds a new keytab entry (see section for net ads keytab add). In addition to