jborean93 / smbprotocol

Python SMBv2 and v3 Client
MIT License
309 stars 72 forks source link

Any way to list shares of an SMB server after creating session? #278

Closed nirabhronz closed 1 month ago

nirabhronz commented 1 month ago

It seems in ubuntu we can use smbclient -L <server> to view the list of shares. is there any equivalent for achieving this in python code running on linux?

adiroiban commented 1 month ago

See https://github.com/jborean93/smbprotocol/issues/118

I think that this is a duplicate.

nirabhronz commented 1 month ago

Cool, thanks for the direction