Using smbclient to view public cifs shares

May 7th, 2008 by webstersprodigy

Easy? yes. Trivial? yes.  But it is something I always seem to forget.

smbclient -L //localhost
Password:
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.26a]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba 3.0.26a)
        data            Disk      Data
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.26a]

        Server               Comment
        ---------            -------
        HOBBIT               Samba 3.0.26a

        Workgroup            Master
        ---------            -------
        MIDEARTH             HOBBIT

Just leave the password empty to do it as guest.  For some reasone I tend to always mix up smbclient and smbmount (depricated, usually mount.cifs now).

Tags:

Leave a Reply


No computers were harmed in the 0.203 seconds it took to produce this page.