summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-12-01 14:12:26 +0000
committerVolker Lendecke <vlendec@samba.org>2003-12-01 14:12:26 +0000
commit748b268a4f5f91b8592c66fdbf0e2af7dea82417 (patch)
tree0355027c1f3be96da26bb7005432dbcaaf8d0458 /source3/utils
parentd9bf130c51fbd104f2c23a65c7260672c67f4712 (diff)
downloadsamba-748b268a4f5f91b8592c66fdbf0e2af7dea82417.tar.gz
samba-748b268a4f5f91b8592c66fdbf0e2af7dea82417.tar.bz2
samba-748b268a4f5f91b8592c66fdbf0e2af7dea82417.zip
In the brief 'net rpc group' listing, don't cut off group names at 21 chars.
Volker (This used to be commit 5d0b8280f6c4990ee3a26c310efebfa859ee21be)
Diffstat (limited to 'source3/utils')
-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));