Can smbclient or libsmbclient do NetrShareEnum ?
mimir at samba.org
Thu Sep 9 18:06:46 GMT 2004
On Thu, Sep 09, 2004 at 10:22:30AM -0700, David Wuertele wrote:
> Rafal> I didn't say libsmblient contains any sort of API to easily
> Rafal> call MSRPC function. I said it includes this specific function
> Rafal> to call NetrShareEnum.
> I found the cli_srvsvc_net_share_enum() function, but it is not in
> libsmbclient.so. I looked in the Makefile and the file that
> cli_srvsvc_net_share_enum() is not getting built by default, and when
> it is getting built it is not built as part of libsmbclient.so, but
> libmsrpc.a. I could add the libmsrpc.a objects to libsmbclient.so,
> but it sounds like you're saying the functionality is in
> libsmbclient.so already.
What version of Samba we're talking about ? All told applied to SAMBA_3_0
(as in svn repository) and nothing'd changed in this field for a couple
of last releases. So, you should have rpc_client files linked in
> I don't care if the API is easy to use, I'm ready to try anything.
> Where should I look in libsmbclient to find the NetrShareEnum
I'm a bit surprised. In my case,
nm libsmbclient.* | grep cli_srvsvc_net_share_enum
yields expected result. Am I missing anything ?
Samba Team member http://www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20040909/ecbf11ec/attachment.bin
More information about the samba-technical