Hello, 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. 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
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