]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs: Fix the documentation for NET ADS DNS (UN)REGISTER
authorPavel Filipenský <pfilipensky@samba.org>
Mon, 27 Jan 2025 16:37:14 +0000 (17:37 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 27 Jan 2025 19:20:52 +0000 (19:20 +0000)
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Mon Jan 27 19:20:52 UTC 2025 on atb-devel-224

docs-xml/manpages/net.8.xml
source3/utils/net_ads.c

index f388644172f9f30936f2f7a3cd7d184063fbe8f6..5ff7a6eccb09807eeae50d754d1c316288c882b9 100644 (file)
@@ -1464,13 +1464,13 @@ against an NT4 Domain Controller.
 <title>ADS DNS</title>
 
 <refsect3>
-<title>ADS DNS REGISTER [HOSTNAME [IP [IP.....]]]</title>
-<para>Add host dns entry to Active Directory.</para>
+<title>ADS DNS REGISTER [FQDN [IP [IP.....]]]</title>
+<para>Add dns record to Active Directory. If FQDN is missing, <smbconfoption name="dns hostname"/> is used. If IP is missing, IPs from all network interfaces are added.</para>
 </refsect3>
 
 <refsect3>
-<title>ADS DNS UNREGISTER &lt;HOSTNAME&gt;</title>
-<para>Remove host dns entry from Active Directory.</para>
+<title>ADS DNS UNREGISTER &lt;FQDN&gt;</title>
+<para>Remove FQDN dns entry from Active Directory.</para>
 </refsect3>
 
 </refsect2>
index e4fb6a90f4d2d76f6d646250d89eca992788b484..d778ec5f1051a1245c04e71d86546bac408de445 100644 (file)
@@ -2113,17 +2113,17 @@ static int net_ads_dns(struct net_context *c, int argc, const char *argv[])
                        "register",
                        net_ads_dns_register,
                        NET_TRANSPORT_ADS,
-                       N_("Add host dns entry to AD"),
-                       N_("net ads dns register\n"
-                          "    Add host dns entry to AD")
+                       N_("Add FQDN dns entry to AD"),
+                       N_("net ads dns register [FQDN [IP [IP.....]]]\n"
+                          "    Add FQDN dns entry to AD")
                },
                {
                        "unregister",
                        net_ads_dns_unregister,
                        NET_TRANSPORT_ADS,
-                       N_("Remove host dns entry from AD"),
-                       N_("net ads dns unregister\n"
-                          "    Remove host dns entry from AD")
+                       N_("Remove FQDN dns entry from AD"),
+                       N_("net ads dns unregister <FQDN>\n"
+                          "    Remove FQDN dns entry from AD")
                },
                {
                        "async",