diff options
author | Jim McDonough <jmcd@samba.org> | 2003-04-29 15:09:54 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-04-29 15:09:54 +0000 |
commit | ad8e83f78fd5e4436d459a87fc7b1c0827bdb4ab (patch) | |
tree | 9253040ea3bb458bb962fefdefd32010b2ddc139 /source3/utils | |
parent | c6d550b99bb7e15bb437f478933b35a46496455c (diff) | |
download | samba-ad8e83f78fd5e4436d459a87fc7b1c0827bdb4ab.tar.gz samba-ad8e83f78fd5e4436d459a87fc7b1c0827bdb4ab.tar.bz2 samba-ad8e83f78fd5e4436d459a87fc7b1c0827bdb4ab.zip |
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)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |