From: Andreas Schneider Date: Tue, 23 Oct 2012 15:12:59 +0000 (+0200) Subject: BUG 9326: Fix net ads join message for the dns domain. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=155d132434e96d69bac31dd7413ecb4d4b09b017;p=metze%2Fsamba%2Fwip.git BUG 9326: Fix net ads join message for the dns domain. 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 --- diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index f751d688aa52..6a7bc5301bd3 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1436,7 +1436,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,