Bug 767 - Windows shares longer than 12 characters not enumerated
Summary: Windows shares longer than 12 characters not enumerated
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.0
Hardware: Other other
: P3 enhancement
Target Milestone: none
Assignee: Andrew Bartlett
QA Contact:
Depends on:
Reported: 2003-11-12 15:03 UTC by David Wuertele
Modified: 2005-02-08 21:35 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Wuertele 2003-11-12 15:03:00 UTC
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.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-11-13 13:25:25 UTC
smbclient is not going to use rpc.
This would be the job of 'net rpc ...'
Comment 2 Gerald (Jerry) Carter (dead mail address) 2003-11-13 14:29:16 UTC
Andrew wants it.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2004-03-12 06:54:47 UTC
marking as enhancement.
Comment 4 David Wuertele 2004-03-12 10:07:24 UTC
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?
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:35:37 UTC
no one wants to fix this....