[Samba] NetShareEnum counterpart

tms3 at tms3.com tms3 at tms3.com
Sat May 29 11:15:28 MDT 2010



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



More information about the samba mailing list