From 669a9236c37e66be08efbc5c51367113ffaf3b36 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 23 Oct 2012 17:12:59 +0200 Subject: [PATCH] BUG 9326: Fix net ads join message for the dns domain. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't get a realm back from the server which is useable as a realm on Unix. On Unix they are case sensitive and on Windows they aren't. This confuses uses and if we write realm they try to use it as it came back in lowercase. Signed-off-by: Andreas Schneider Signed-off-by: Günther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Mon Oct 29 18:26:19 CET 2012 on sn-devel-104 --- source3/utils/net_ads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index c12225162a9..03658d3c5b7 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1543,7 +1543,7 @@ int net_ads_join(struct net_context *c, int argc, const char **argv) d_printf(_("Using short domain name -- %s\n"), r->out.netbios_domain_name); if (r->out.dns_domain_name) { - d_printf(_("Joined '%s' to realm '%s'\n"), r->in.machine_name, + d_printf(_("Joined '%s' to dns domain '%s'\n"), r->in.machine_name, r->out.dns_domain_name); } else { d_printf(_("Joined '%s' to domain '%s'\n"), r->in.machine_name, -- 2.11.4.GIT