Can smbclient or libsmbclient do NetrShareEnum ?
mimir at samba.org
Thu Sep 9 21:51:10 GMT 2004
On Thu, Sep 09, 2004 at 02:54:04PM -0700, Richard Sharpe wrote:
> On Thu, 9 Sep 2004, Rafal Szczesniak wrote:
> > On Thu, Sep 09, 2004 at 12:44:32PM -0700, David Wuertele wrote:
> > > Rafal> I'm a bit surprised. In my case,
> > > Rafal> nm libsmbclient.* | grep cli_srvsvc_net_share_enum
> > > Rafal> yields expected result. Am I missing anything ?
> > >
> > > Downloaded 3.0.6 and verified your result. Must have changed since
> > > 3.0.0.
> > That might be. 3.0.0 is quite old to me :)
> > Does that mean you have the function ie. what you needed ?
> I just did a grep in SAMBA_3_0/source/libsmb/*.c for cli_srvsvc and came
> up empty.
That's because the function is in SAMBA_3_0/source/rpc_client/*.c
Object files from there are linked into libsmbclient.
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/3e3ab6c4/attachment.bin
More information about the samba-technical