[Samba] python: listing samba shares

Helmut Hullen Hullen at t-online.de
Sun Aug 16 09:22:00 MDT 2009


Hallo, Igor,

Du meintest am 16.08.09:

> Is it possible to list samba shares and their contents of a
> particular host? --

Shell:

        smbclient -N -L $particular_host

shows first all shares of that particular host and then some other  
stuff. Perhaps you filter some output depending on the key word "Disk"  
(or "Printer").

Contents: "that depends".
You must have some rights.

Viele Gruesse!
Helmut


More information about the samba mailing list