The branch, master has been updated
via faa6290d89e docs: Fix the documentation for NET ADS DNS (UN)REGISTER
from 278070a0cce s3:selftest: Correctly set smbtorture4 targets
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit faa6290d89e34b0fc90744fc3e590dd34ab85b5e
Author: Pavel Filipenský <[email protected]>
Date: Mon Jan 27 17:37:14 2025 +0100
docs: Fix the documentation for NET ADS DNS (UN)REGISTER
Signed-off-by: Pavel Filipenský <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
Autobuild-User(master): Pavel Filipensky <[email protected]>
Autobuild-Date(master): Mon Jan 27 19:20:52 UTC 2025 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
docs-xml/manpages/net.8.xml | 8 ++++----
source3/utils/net_ads.c | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
Changeset truncated at 500 lines:
diff --git a/docs-xml/manpages/net.8.xml b/docs-xml/manpages/net.8.xml
index f388644172f..5ff7a6eccb0 100644
--- a/docs-xml/manpages/net.8.xml
+++ b/docs-xml/manpages/net.8.xml
@@ -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 <HOSTNAME></title>
-<para>Remove host dns entry from Active Directory.</para>
+<title>ADS DNS UNREGISTER <FQDN></title>
+<para>Remove FQDN dns entry from Active Directory.</para>
</refsect3>
</refsect2>
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index e4fb6a90f4d..d778ec5f105 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -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",
--
Samba Shared Repository