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)
committerGünther Deschner <gd@samba.org>
Mon, 29 Oct 2012 17:26:19 +0000 (18:26 +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>
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Oct 29 18:26:19 CET 2012 on sn-devel-104

source3/utils/net_ads.c

index c12225162a93014c0fda65dbf7408eb34acc1ca3..03658d3c5b76615ac7ef4b1ccac6d5be784875df 100644 (file)
@@ -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,