Samba not working on Sequoia

Upgraded to macOS Sequoia and cannot get 'connect to server' function in Finder to work (connecting my M1 mac mini to itself). I did 'sudo launchctl start com.apple.smbd' and then 'sudo launchctl list | grep smbd' and it shows /usr/sbin/smbd is running. When I attempt to connect to server I get a popup window which says "There was a problem connecting to the server 'Macmini.local'. The server may not exist or it is unavailable at this time". I tried connecting to my macmini's IP address also and no luck. I reinstalled macOS Sequoia from a bootable USB but still no luck. File sharing and samba enabled under System Settings. Any ideas?


Mac mini, macOS 15.0

Posted on Sep 20, 2024 9:08 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 26, 2024 10:26 PM

Hello, it seems that for whatever reason, the way of resolving the SMB hostnames has changed on Sequoia, at least on my computer.


I used to connect to a NAS at smb://MyCloud-UT6A4L.lan on Sonoma, now I need to connect to smb://MyCloud-UT6A4L._smb._tcp.local

Likewise, if I want to connect the computer to itself like you tried, and even if the sharing parameters point me to connect to smb://mbp-de-matthieu.lan, I actually need to connect to smb://Macbook Pro de Matthieu._smb._tcp.local (including whitespaces !)

I haven't found yet the syntax to connect through IP addresses.


Looking around the internet, it seems that this ._smb._tcp.local suffix has existed before Sequoia, so I assume it has been a valid syntax for some time, but that there is currently a bug with the "regular" (and more straightforward) SMB syntax.


40 replies

Sep 27, 2024 4:10 PM in response to erickdobrasil

erickdobrasil wrote:

I don't really understand either adding ".local" or using "joesmith" instead of "Joe Smith" fixes access by Files app using smb.

"local" is a special reserved TLD (Top-Level Domain) for local devices. It's like ".com" or ".ca" but anyone can use ".local" because it's restricted to your local network.


Your user name of "Joe Smith" doesn't really exist very much. It's just a descriptive string tacked onto your real user name which is "joesmith". Apple calls this the "short user name". But it's really the only user name there is.

Sep 27, 2024 11:45 PM in response to James Brickley

James Brickley wrote:

Syntax:

smb://DOMAIN;USER@HOSTNAME/SHARE/FOLDER

Example:

smb://user@imac.local/


What is interesting here... is that this traditional SMB syntax which was definitely not working yesterday on my computer is now working. I do not think I have even rebooted the computer in the meantime.


How can I say this with a good amount of conviction ? This syntax was used in an automator script that has been used for ages in previous versions of MacOs, was not working yesterday on Sequoia after the upgrade, but is now working again.


There is definitly something quirky happening here, but of course it may be specific to my computer. In any case, thank you for pointing out that my workaround was using Bonjour/Zeroconf syntax, I will definitely read up on that.



Oct 24, 2024 3:56 AM in response to l4kr411

l4kr411 wrote:

MacOS is deprecating APF in favor of Samba. Windows uses nothing except Samba. Please where did you get your information?

Samba is a third-party SMB implementation. Windows uses the original made by them SMB implementation. macOS uses the Apple made SMB implementation. Samba is used predominantly on Linux.

Samba is not just another word for SMB.

Sep 20, 2024 10:32 AM in response to Barney-15E

I should not have used the word "Samba". I know that Apple uses its own implementation. However, the process is /usr/sbin/smbd and it is running but still not able to connect to server using smb://192.168.1.177 where this IP address is both server and client. Note that "ping 192.168.1.177" works. I checked System Settings and they look okay. I rebooted but still no luck. Anyone know how to turn on logging so I might get more information?

Sep 20, 2024 5:33 PM in response to erickdobrasil

erickdobrasil wrote:

The point is to test SMBD! Because it was not working from a remote system.

Well then that's the problem I guess. Can you describe this remote system? Operating system? Version? SMB version? Age? etc.


As part of an exasperation effort in another thread, I signed onto a VPN and tested a bunch of networking. Everything, including SMB worked fine. My server is running a vanilla Ubuntu 20.04.6 LTS with whatever that runs.

Sep 21, 2024 7:12 AM in response to etresoft

After I updated to Sequoia 15.0 on my M2 mac mini, I was unable to access the files on my mac from either my iPhone or my iPad. Both the iPhone and iPad have been upgraded the latest release 18.0. In order to troubleshoot this, I decided to use the mac Finder's 'connect to server' feature on the mac to access itself. This has also worked in the past. I tried to connect using smb://192.168.1.3 which is ip address of my mac (from 'ifconfig' in Terminal app). This failed as did 'smb://macmini.local' and 'smb://localhost' and 'smb://macmini'. They also gave this error:


I have 'file sharing: on' in system settings, have set up read/write access to my Downloads folder and 'SMB file sharing' is toggled on. These are all settings which worked on Sonoma but are not working on Sequoia. I have re-installed Sequoia twice from a bootable USB drive but still no luck.


Any suggestions on how to progress would be welcome. Thank you in advance.

Sep 27, 2024 8:45 AM in response to erickdobrasil

erickdobrasil wrote:

I am trying to access my M2 mac mini running Sequoia from my iPhone using the Files app (connect to server).

Why not use iCloud? Or AirDrop? Both are infinitely easier.

Both systems updated to latest releases.

I realize that the whole world seems to expect perfection in nothing except for Apple .0 releases. But is that a reasonable expectation?


There is no such thing as the "latest releases". That phrase suggests "best", most up-to-date, most reliable, most advanced. Rather, you should have said, "both systems updated to the earliest releases". Then that would do a better job of setting expectations.


My recommendation is to learn how the seasons work. We don't plant tomatoes in the fall. That would be silly. We don't mow the grass in the winter. We don't shovel snow in summer. To every thing there is a season, and a time to every purpose (catchy, eh?).


Apple has a "spring release" in June. And then they have a "fall release" in September. If you want the most up-to-date, most reliable, most advanced version of anything, then you want the last versions before either of those releases. If you are focused more on reliability, then take it back one year.


For the Mac, that means Ventura 13.6.9. If you want something newer, then you could use Sonoma 14.6.1. The recent 13.7 and 14.7 releases came along with the "fall release". They might ultimately prove to be reliable, but I would recommend waiting. I have seen some reports of problems with 14.7. Apparently there is a new 14.7.1 on the way.


So if you want to use these early releases, by all means, go for it! Dig into details and learn some low-level networking. File some bug reports. In some cases, people might share your interests, but that's hit or miss. I was interested in a recent bug someone found regarding colorspaces in Preview. But I consider macOS file sharing to be a lost cause, so I don't care. In this case, I would rather recommend more reliable alternatives to help you get something practical done.

Sep 28, 2024 7:05 PM in response to etresoft

Wow, that was a fast response! Please learn to take some simple criticism. You could always tell one’s level of understanding as well as their ideology the second they start screaming about Microsoft totally out of context. Finally, please feel free to take a course on firewalls and the point of their true implementation. Good evening and stay calm.

Sep 28, 2024 7:17 PM in response to srutz

Finally, please feel free to take a course on firewalls and the point of their true implementation. Good evening and stay calm.

I have taken several. I also earned certificates in various internet security subjects. Not that it matters. Pay your fee, get your B.

A Firewall is a network management tool used to sequester certain users and devices from other devices.

For instance, all users should not have access to accounting or HR devices. That separation is what a firewall provides. Using it to isolate one's computer from the internet is not what it is capable of doing.

Most users are already isolated from the internet through their NAT router.

The Application Firewall in macOS only serves to prevent other entities on the internal LAN from accessing that Mac. However, it only serves to block users from accessing their own devices. It has no capability to prevent the "hordes of baddies out on the Wild West of the Internet" from accessing their Mac. Their NAT router does that.

Please stop pushing the false security narrative.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Samba not working on Sequoia

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.