Red Hat Bugzilla – Bug 194210
smbclient / smbtree returns <12 characters shares.
Last modified: 2018-10-19 16:40:27 EDT
The samba-3.0.10-1.4E.6 package from RHEL4 cannot list more than 12 characters
per share as it is using NetshareEnum via the rap call. Upstream has provided a
fix on this by first using RPC calls to list the share ressources and then
fallback to the original NetShareEnum call.
The fix has been commited as revision 15098 upstream:
To reproduce the issue:
% smbclient -L //localhost/
Won't show the shares with more than 12 characters.
Please let me know if you need more details about this problem,
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Should be easy to test fix. QE ACK+
Although this bugzilla was approved for RHEL 4.5, we were unable
to resolve it in time to be included in the release. Therefore
it is now proposed for RHEL 4.6.
verified smbclient and smbtree with 3.0.25b on rhel4, both work with shares > 12
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.