summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-05-09 13:06:11 +0000
committerJim McDonough <jmcd@samba.org>2003-05-09 13:06:11 +0000
commita441a70b16481b21a0eb445bf1a0ab9e8f75279b (patch)
tree58240b3fa51b72fde2dbe5c1766906704cfd32cb /source3
parenta5f417c33bdd6cf341c4d9bda497f59c29e04936 (diff)
downloadsamba-a441a70b16481b21a0eb445bf1a0ab9e8f75279b.tar.gz
samba-a441a70b16481b21a0eb445bf1a0ab9e8f75279b.tar.bz2
samba-a441a70b16481b21a0eb445bf1a0ab9e8f75279b.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 27ca9bde6ba1a21326d89ab1dab52f7053fff9a4)
Diffstat (limited to 'source3')
-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)