1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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
This commit is contained in:
Daniel Liberman 2012-07-24 09:29:35 -03:00 committed by Jeremy Allison
parent 63ea42853c
commit 27bc6cffaa

View 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: