[Samba] List shares using C functions

Leon Merten Lohse leon at green-side.de
Sun Jun 13 09:40:58 MDT 2010


Hello,

I need to get a list of all available shares on a remote smb server in 
an application of mine. Did not find any helpful documentation for that. 
Is there a simple way to do so?

Parsing the output of "smbclient -L" would be the last solution.

Yes, I already asked that but got not really an answer, so I am trying 
it different this time.

Regards
Leon


More information about the samba mailing list