This is driving me nuts. I have a MacMini (10.7.4) shutting down each night at 11 PM and restarting at 6 AM. Occasionally (and every day this week), I see the message, "there is a user sharing this computer" when it cannot shut down. Is there a way I can find out which computer it is? I am on a home LAN with three Macs and one PC. I picked up the AFPStatus app but it doesn't help. At the moment, it shows "File Sharing (enabled)" but no IP address of an attached computer. (It has done so on occasion, but not today.)
I have File Sharing enabled but limited to certain accounts. (I mention this because Internet research on this mostly says, 'turn File Sharing off".) In Sharing control panel > File Sharing > Options, I see "number of users connected: 1".
I have an Apple TV in the living room for the TV, connected via Ethernet. Occasionally, I watch iTunes TV shows from this computer. iTunes is not running this morning and Apple TV is sleeping. So, it shouldn't be the sharing device.
There has to be some way to determine which computer is connected for sharing to this Mac. Any suggestions?
Applications using a file reference to your computer can mount a remote disk automatically, as long as the computer is on the network. A command like
will list what machine and user is connected by AFP.