smbclient should use the RPC call NetrShareEnum, not the RAP call (NetShareEnum) to enumerate shares. until then, shares with names longer than 12 characters will never be enumerated.
smbclient is not going to use rpc. This would be the job of 'net rpc ...'
Andrew wants it.
marking as enhancement.
The reason I wanted this for smbclient was so that I could give my own apps the ability to enumerate shares by linking to smbclient.so. Is there already an API I can use to access the 'net rpc ...' functionality that you mention?
no one wants to fix this....