RAP bug: Not truncating names to 12 characters.

Michael B Allen mba2000 at ioplex.com
Sat Jan 17 03:31:27 GMT 2004

> ab wrote:
>> Same with smbclient. It does display them but can't access.
>> It also has
>> bug in that displayed share name is cropped:
>> d_printf("\t%-15.15s%-10.10s%s\n", name, typestr, comment);
> Right, and just as a note this is in bugzilla already:
> https://bugzilla.samba.org/show_bug.cgi?id=767

Nope, 767 is totally different from what Chris is reporting.

Although, regarding 767 I think smbclient should use libsmbclient which should use
NetShareEnum or NetrShareEnum depending on whatever the server supports. It should
be completely transparent to users. It's wrong to require the use of two different
programs depending on which type of server you're hitting.

A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.

More information about the samba-technical mailing list