Extending space for fqdn in wbinfo --trusted-domains in verbose mode
authorDaniel Liberman <danielvl@gmail.com>
Tue, 24 Jul 2012 12:29:35 +0000 (09:29 -0300)
committerJeremy Allison <jra@samba.org>
Thu, 23 Aug 2012 01:49:00 +0000 (03:49 +0200)
Microsoft documentation states that maximum fqdn length is 64 characters, so extending DNS Domain column to 65 characters.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 23 03:49:00 CEST 2012 on sn-devel-104

nsswitch/wbinfo.c

index 70a7b1547a4a8ff87fbe989f5483f9d7ce9428f8..aee4004e57d25c0814d3030444b69d4e95c5bb7a 100644 (file)
@@ -519,7 +519,7 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose)
        }
 
        if (print_all) {
-               d_printf("%-16s%-24s%-12s%-12s%-5s%-5s\n",
+               d_printf("%-16s%-65s%-12s%-12s%-5s%-5s\n",
                         "Domain Name", "DNS Domain", "Trust Type",
                         "Transitive", "In", "Out");
        }
@@ -533,7 +533,7 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose)
                        continue;
                }
 
-               d_printf("%-24s", domain_list[i].dns_name);
+               d_printf("%-65s", domain_list[i].dns_name);
 
                switch(domain_list[i].trust_type) {
                case WBC_DOMINFO_TRUSTTYPE_NONE: