From 27bc6cffaaddf5921c8e557cc2747acba9596afd Mon Sep 17 00:00:00 2001 From: Daniel Liberman Date: Tue, 24 Jul 2012 09:29:35 -0300 Subject: Extending space for fqdn in wbinfo --trusted-domains in verbose mode Microsoft documentation states that maximum fqdn length is 64 characters, so extending DNS Domain column to 65 characters. Signed-off-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Aug 23 03:49:00 CEST 2012 on sn-devel-104 --- nsswitch/wbinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nsswitch') diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 70a7b1547a..aee4004e57 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -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: -- cgit