summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-12-01 14:13:20 +0000
committerVolker Lendecke <vlendec@samba.org>2003-12-01 14:13:20 +0000
commit1ccd951fafeed7e899d84846264b4ed63a251322 (patch)
tree1b924745ae45003ecc4c5b6578316469bfef6cb9
parent925876950124eefe673089c34d86c72b3180b04c (diff)
downloadsamba-1ccd951fafeed7e899d84846264b4ed63a251322.tar.gz
samba-1ccd951fafeed7e899d84846264b4ed63a251322.tar.bz2
samba-1ccd951fafeed7e899d84846264b4ed63a251322.zip
In the brief 'net rpc group' listing, don't cut off group names at 21 chars.
Volker (This used to be commit d623f695c48736f21a79f02cf669d5bcf39cd920)
-rw-r--r--source3/utils/net_rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 75b3726b44..04a0330774 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -989,7 +989,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli,
printf("%-21.21s %-50.50s\n",
group, desc);
else
- printf("%-21.21s\n", group);
+ printf("%s\n", group);
}
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
/* query domain aliases */
@@ -1030,7 +1030,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli,
groups[i].acct_name,
description);
} else {
- printf("%-21.21s\n", groups[i].acct_name);
+ printf("%s\n", groups[i].acct_name);
}
}
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
@@ -1081,7 +1081,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli,
groups[i].acct_name,
description);
} else {
- printf("%-21.21s\n", groups[i].acct_name);
+ printf("%s\n", groups[i].acct_name);
}
}
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));