when a host A share a directory whose name more than 13 chars,
In host B, user the command "smbclient -L A", it can only display the first 13
chars of the share name in host A
As a workaround, you can display all the share names by using the Samba "net rpc
share" command. See:
Actually, "net rpc share" is only a partial workaround. It will list the longer
share names, but it will truncate the names at 12 characters.
originally against 3.0.6rc2
*** Bug 2188 has been marked as a duplicate of this bug. ***
the current behavior is not an issue in smbclient, but in smbd
where it will not enumerate shares >= 13 characters in length
via the NetShareEnum rap call. This is actually correct behavior.