From: Pavel Filipenský Date: Mon, 27 Jan 2025 16:37:14 +0000 (+0100) Subject: docs: Fix the documentation for NET ADS DNS (UN)REGISTER X-Git-Tag: tdb-1.4.13~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa6290d89e34b0fc90744fc3e590dd34ab85b5e;p=thirdparty%2Fsamba.git docs: Fix the documentation for NET ADS DNS (UN)REGISTER Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider Autobuild-User(master): Pavel Filipensky Autobuild-Date(master): Mon Jan 27 19:20:52 UTC 2025 on atb-devel-224 --- 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. ADS DNS -ADS DNS REGISTER [HOSTNAME [IP [IP.....]]] -Add host dns entry to Active Directory. +ADS DNS REGISTER [FQDN [IP [IP.....]]] +Add dns record to Active Directory. If FQDN is missing, is used. If IP is missing, IPs from all network interfaces are added. -ADS DNS UNREGISTER <HOSTNAME> -Remove host dns entry from Active Directory. +ADS DNS UNREGISTER <FQDN> +Remove FQDN dns entry from Active Directory. 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 \n" + " Remove FQDN dns entry from AD") }, { "async",