[Samba] NetShareEnum counterpart

Leon Merten Lohse leon at green-side.de
Sat May 29 08:02:08 MDT 2010


I am searching for a Samba counterpart of the Windows API function 
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?


Leon Lohse

More information about the samba mailing list