From ad8e83f78fd5e4436d459a87fc7b1c0827bdb4ab Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 29 Apr 2003 15:09:54 +0000 Subject: Allow net rpc user -l to list longer than 50 characters in a user comment. Net.exe on windows won't allow more than 50 characters to be entered, but through AD you can have much more than this. (This used to be commit ca2886c9385361ea401e3e0b47c26cb39adcadbc) --- source3/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index e3e79b0e6c..8ce796c44b 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -862,7 +862,7 @@ rpc_user_list_internals(const DOM_SID *domain_sid, struct cli_state *cli, unistr2_to_ascii(desc, &(&ctr.sam.info1->str[i])->uni_acct_desc, sizeof(desc)-1); if (opt_long_list_entries) - printf("%-21.21s %-50.50s\n", user, desc); + printf("%-21.21s %s\n", user, desc); else printf("%s\n", user); } -- cgit