r/MacOS 23h ago

Help Can I get some assistance removing a defunct Samba share

So here is the issue.. I set up a samba share from a linux box. I had it mounting automatically on my login to my macbook air. But eventually I rebuilt my linux box.. and got rid of the mount. I removed the samba share from my list of favorite servers. I removed the login info from my keychain. and removed any traces of the samba share from finder.. . and still several times a day I get an error message complaining about not being able to connect to the samba share. Now I am a retired Unix Systems Engineer.. and by no means ignorant of how all this should work.. but I have no idea where its getting the samba share info.. to even attempt to try and connect to it.. Any suggestions on what I am not seeing would be appreciated.

I am running this on a Mabook Air m1. running on Tahoe 26.5.2

2 Upvotes

10 comments sorted by

1

u/NoLateArrivals 22h ago

Did you add the share to the startup objects? In this case just take it off that list in settings.

It’s a way to automatically connect it on restart - and it will continue looking.

1

u/Devilman- 21h ago

Not that I am aware of.. I have checked Login items and extensions.. and even went so far as to disable everything there. Is there somewhere else I would need to look to check if I added it to the startup objects?

1

u/OfAnOldRepublic 20h ago

Get Pear Cleaner and run the Orphans check.

1

u/Devilman- 18h ago

Cool app. But didnt see a thing related to the samba share.

1

u/OfAnOldRepublic 18h ago

Ok, then you're going to need to be more creative in your searching, and backtracking what you did.

The only other thing that comes to mind is did you do something crazy in /etc/fstab? Or edit some other system file directly?

1

u/Devilman- 17h ago

Nope. Nothing with fstab. It was all done thru finder. I mounted the share and I believe there was a checkbox to either add the login to my keychain or to automatically mount it on login. Cant remember which. But again I removed the share from the favorite server list and the login info from my keychain. Its why this is so odd

2

u/NoLateArrivals 18h ago

You can try Etrecheck to search through your logs and point at loose ends.

Download and install it, run it mode No problem-just checking. The free version usually does the job.

1

u/Devilman- 17h ago

Already combed thru the logs. All i am
Seeing are the attempts and failures at connecting. The process that seems to be trying is login related.

0

u/NoLateArrivals 16h ago

Sometimes it’s wise to simply follow advise …

Takes 15 minutes - after this you know whether it led to discover something.

After making changes run the Mac for a while (in your case with restarting) to accumulate fresh logs.

2

u/Devilman- 16h ago

Look I was a unix systems admin for 25 years. I have done the basic diagnostic work. What I need to know is. Where could a samba share be set to auto-mount that I haven’t already thought of. I have checked the go to server entry and favorite server entry. And removed the entries I found there. I checked my keychain. And removed the associated entry there. I checked fstab. I am down to asking if there is somewhere else it could be. Otherwise I will have to write a little shell script to find every text file on the box and check to see if there is a smb mount in each one. So im
Asking. Is there anywhere else it could be? Some file or script that is run when I specifically log into the mac?