Bug 1549 - smbstatus strips service name if strlen(servicename) > 10
Summary: smbstatus strips service name if strlen(servicename) > 10
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Extended Characters (show other bugs)
Version: 3.0.11
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Alexander Bokovoy
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 05:41 UTC by SATOH Fumiyasu
Modified: 2005-08-24 10:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SATOH Fumiyasu 2004-07-22 05:41:22 UTC
Please apply the following patch:

==================================================================
--- source/utils/status.c       (revision 1561)
+++ source/utils/status.c       (working copy)
@@ -540,7 +540,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb
                return 0;
        }

-       d_printf("%-10.10s   %5d   %-12s  %s",
+       d_printf("%-10s   %5d   %-12s  %s",
               crec.name,(int)crec.pid,
               crec.machine,
               asctime(LocalTime(&crec.start)));
Comment 1 SATOH Fumiyasu 2004-09-01 08:20:39 UTC
Can you hear me?
Please comment on this issue...

FYI. This issue is the same problem as Bug 692.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 07:29:37 UTC
resetting version
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-19 09:38:02 UTC
applying patch for 3.0.12
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:20:32 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.