Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A warning about SMB sharing and file security' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A warning about SMB sharing and file security
Authored by: fenner on Jan 19, '04 12:05:38PM
You can check what shares others will see from your own mac, using
smbclient -L yoursystemname
For example, I have the default setup with an additional share ("Mirrors") configured with SharePoints, and the smbclient -L command returns:

        Sharename      Type      Comment
        ---------      ----      -------
        Mirrors        Disk      
        IPC$           IPC       IPC Service (Mac OS X)
        ADMIN$         IPC       IPC Service (Mac OS X)
        _135.197.17.2  Printer   Brother
        Bluetooth-Mod  Printer   Bluetooth-Modem
        Bluetooth-PDA  Printer   Bluetooth-PDA-Sync
        HylaFAX_on_fe  Printer   HylaFAX on fenestro.attlabs.att.com
        Internal_Mode  Printer   Internal Modem
        lp_on_fenestr  Printer   lp on fenestro.attlabs.att.com
        mp-105_on_big  Printer   mp-4500-105
        photosmart_73  Printer   photosmart 7350
        printer_on_13  Printer   mp-8100-162
        fenner         Disk      User Home Directories
As you can see, it is advertising my Mirrors share, a couple of IPC services, all of my printers and my home directory. (It is showing my home directory because I entered my SMB password to smbclient). Can your friend share the SMB share name that he connected to to see your whole computer? I tried the common default, "root", and that didn't work:

forbin% smbclient //forbin/root
Password: 
smb: \> ls
NT_STATUS_NETWORK_ACCESS_DENIED listing \*

                0 blocks of size 0. 0 blocks available


[ Reply to This | # ]