summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-05-09 12:58:28 +0000
committerJim McDonough <jmcd@samba.org>2003-05-09 12:58:28 +0000
commit62c3744709c6c90584315b9863cbb2140a0c3d9b (patch)
tree9719ecad310d28a2a1ee07d4ea4c43c6a2df9352
parent60fa5c308b9fdfdb1759bf1351908f6c6d2a7c08 (diff)
downloadsamba-62c3744709c6c90584315b9863cbb2140a0c3d9b.tar.gz
samba-62c3744709c6c90584315b9863cbb2140a0c3d9b.tar.bz2
samba-62c3744709c6c90584315b9863cbb2140a0c3d9b.zip
Fix bug #4 for net rap. Allow more than 50 chars for long form listings of users and groups.
(This used to be commit dcc6d9e76c737400aaffdd4f261fd0f191aaeea8)
-rw-r--r--source3/utils/net_rap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index 6e691a1f60..1f6c6e7a84 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -599,7 +599,7 @@ static void long_user_fn(const char *user_name, const char *comment,
const char * home_dir, const char * logon_script,
void *state)
{
- d_printf("%-21.21s %-50.50s\n",
+ d_printf("%-21.21s %s\n",
user_name, comment);
}
@@ -717,7 +717,7 @@ int net_rap_group_usage(int argc, const char **argv)
static void long_group_fn(const char *group_name, const char *comment,
void *state)
{
- d_printf("%-21.21s %-50.50s\n", group_name, comment);
+ d_printf("%-21.21s %s\n", group_name, comment);
}
static void group_fn(const char *group_name, const char *comment, void *state)