samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] NetShareEnum counterpart

Re: [Samba] NetShareEnum counterpart

From: <tms3_at_nospam>
Date: Sat May 29 2010 - 17:15:28 GMT
To: "Leon Merten Lohse" <leon@green-side.de>

SNIP
> I am searching for a Samba counterpart of the Windows API function
> NetShareEnum
> http://msdn.microsoft.com/en-us/library/bb525387%28VS.85%29.aspx - a
> function that lists the smb resources of a given server.

smbstatus |more

in a terminal window will give you a start.

man smbstatus for more info.

Cheers,

TMS III

>
> It googled quite a lot and had a quick look on the libsmbclient header
> but did not find anything that helped.
> `smbclient -L' does what I look for amongst other things ... I am
> unsure
> if it is trivial or reusable, though.
>
> Do you know a library that provides such a function or a quick way to
> implement it?
>
> Thanks!
>
> Regards
> Leon Lohse
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba