BUG 9326: Fix net ads join message for the dns domain.
authorAndreas Schneider <asn@samba.org>
Tue, 23 Oct 2012 15:12:59 +0000 (17:12 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 31 Oct 2012 08:51:19 +0000 (09:51 +0100)
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 <asn@samba.org>
source3/utils/net_ads.c

index f751d688aa5219bdfb53f894b7e58bb636a44d4b..6a7bc5301bd34c9e797d272b2c1c300cc04da115 100644 (file)
@@ -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,