From f542749acde5be0d2e77e05bec2c5b112c5ef282 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 12 Feb 2018 12:13:02 +0000 Subject: [PATCH] docs: Add manpage for 'net ads keytab' subcommand Signed-off-by: Noel Power Reviewed-by: Jeremy Allison Reviewed-by: Andreas Schneider --- docs-xml/manpages/net.8.xml | 83 +++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/docs-xml/manpages/net.8.xml b/docs-xml/manpages/net.8.xml index 542dac53be4..1176f66182a 100644 --- a/docs-xml/manpages/net.8.xml +++ b/docs-xml/manpages/net.8.xml @@ -1338,6 +1338,89 @@ to show in the result. + +ADS KEYTAB <replaceable>CREATE</replaceable> + + +Creates a new keytab file if one doesn't exist with default entries. Default +entries are kerberos principals created from the machinename of the +client, the UPN (if it exists) and any Windows SPN(s) associated with the +computer AD account for the client. If a keytab file already exists then only +missing kerberos principals from the default entries are added. No changes +are made to the computer AD account. + + + + +ADS KEYTAB <replaceable>ADD</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> + + +Adds a new keytab entry, the entry can be either; + + kerberos principal + + A kerberos principal (identified by the presence of '@') is just + added to the keytab file. + + + machinename + + A machinename (identified by the trailing '$') is used to create a + a kerberos principal 'machinename@realm' which is added to the + keytab file. + + + serviceclass + + A serviceclass (such as 'cifs', 'html' etc.) is used to create a pair + of kerberos principals 'serviceclass/fully_qualified_dns_name@realm' & + 'serviceclass/netbios_name@realm' which are added to the keytab file. + + + Windows SPN + + A Windows SPN is of the format 'serviceclass/host:port', it is used to + create a kerberos principal 'serviceclass/host@realm' which will + be written to the keytab file. + + + + + +Unlike old versions no computer AD objects are modified by this command. To +preserve the bevhaviour of older clients 'net ads keytab ad_update_ads' is +available. + + + + +ADS KEYTAB <replaceable>ADD_UPDATE_ADS</replaceable> <replaceable>(principal | machine | serviceclass | windows SPN</replaceable> + + +Adds a new keytab entry (see section for net ads keytab add). In addition to +adding entries to the keytab file corrosponding Windows SPNs are created +from the entry passed to this command. These SPN(s) added to the AD computer +account object associated with the client machine running this command for +the following entry types; + + serviceclass + + A serviceclass (such as 'cifs', 'html' etc.) is used to create a + pair of Windows SPN(s) 'param/full_qualified_dns' & + 'param/netbios_name' which are added to the AD computer account object + for this client. + + + Windows SPN + + A Windows SPN is of the format 'serviceclass/host:port', it is + added as passed to the AD computer account object for this client. + + + + + + ADS WORKGROUP -- 2.34.1