Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Whenever I start up my old Mac Mini, I get an error indicating that it can't connect to an SMB share that I set up a long time ago:

Non-existent SMB connection error

So that this question is findable via Google, the text of this error message is:

Connection failed

The server "PROSECCO.STUDY.LOCAL" may not exist or is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.

I'd like to remove this connection, so that the Mac never tries to connect to the Samba share on the other (long-since expired) computer, but I can't find where to do this. Can anyone tell me how to do this? (The share doesn't appear in the Finder anywhere that I can find, and it's not shown anywhere under System Preferences ... -> Networking -> Advanced...)

(This Mac Mini runs Mac OS X 10.6.8, and is one of the models that isn't upgradeable to Lion.)

share|improve this question

3 Answers 3

up vote 2 down vote accepted

It depends on how this was set up to launch. From boot, Go > Connect to Server > (click the dropbox) and select clear recent servers, if not using any. Then go to System Preferences > Accounts and see if there is something set up in the Login Items tab related to the server and clear. Restart and test. If it continues I'd check Macintosh HD > Library > LaunchDaemons for a file related to mounting the server.

share|improve this answer
    
There was nothing listed under "Recent servers" (and no "Clear Recent Servers" option), but under the Login Items tab of System Preferences > Acounts, there was one with "Item" MARK and "Kind" Unknown. I removed this by clicking the - button, and on restarting I no longer get the error! Many thanks for your help. –  Mark Longair Jul 14 '12 at 22:57

A user's SMB configurations can usually be located in:

~/Library/Preferences/nsmb.conf
share|improve this answer
    
Thanks for your answer, but I'm afraid that file doesn't exist - in fact, find ~ -iname '*smb*' doesn't find anything... –  Mark Longair Jul 14 '12 at 22:52

Here's how I solved this problem - the scorched earth method - find all preference files with the server name and remove them.

Replace server_name with the name of the server giving you grief, replace file_name with the name of the preference files you find:

  1. in a terminal:

    cd ~/Library/Preferences/
    sudo grep -R "server_name" .
    
  2. for each file returned:

    mv file_name ~/Desktop/
    
  3. restart

  4. rejoice

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.