summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Liberman <danielvl@gmail.com>2012-07-24 09:29:35 -0300
committerJeremy Allison <jra@samba.org>2012-08-23 03:49:00 +0200
commit27bc6cffaaddf5921c8e557cc2747acba9596afd (patch)
tree250b138f916b2170befcdbcad4c4cf047b6311a0
parent63ea42853cbc6cdfec4fe6f8aea8b717e889237c (diff)
downloadsamba-27bc6cffaaddf5921c8e557cc2747acba9596afd.tar.gz
samba-27bc6cffaaddf5921c8e557cc2747acba9596afd.tar.bz2
samba-27bc6cffaaddf5921c8e557cc2747acba9596afd.zip
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 <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
-rw-r--r--nsswitch/wbinfo.c4
1 files changed, 2 insertions, 2 deletions
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: