SMB File Sharing not working in Ventura

I use the SMB file sharing system to access files on my MBPro from my iPhone 12, on my local network. Until now, this has been robust, reliable and fast.


After updating my MBPro to Ventura 13.0 and my iPhone to iOS 16.1 I cannot connect the laptop to the phone or to my old iMac, running Monterey 12.6.


Connections between the old iMac and the iPhone work just fine.


Settings on the MBPro show that file sharing is enabled, but it is clearly not working. Any ideas on how to fix this? I have tried all the usual stuff, rebooting, toggling the controls off and on, etc., to no avail.

MacBook Pro 14″, macOS 13.0

Posted on Nov 3, 2022 8:36 AM

Reply
Question marked as Best reply

Posted on May 6, 2023 10:21 AM

The working solution for me

Add

/usr/sbin/smbd 

with Settings -> Network -> Firewall -> Options

Or

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/sbin/smbd
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /usr/sbin/smbd


Interesting is that this reqiured even if Sharing is visible as allowed in firewall.

358 replies

Feb 1, 2023 6:17 PM in response to swixo

Running with the firewall off not a good idea either.

Only if you don't know its actual purpose. Hint, it's not to prevent hackers getting into your Mac.

Also, the Application Firewall in macOS only prevents the user from accessing their data, not nefarious intruders.

Your NAT router should be doing that, unless you let them into your local network.

If that is the type of protection you need, then you should learn to configure the packet filter (pf).

Feb 1, 2023 10:44 PM in response to swixo

A firewall is a network management tool used to isolate devices and users from parts of the network. Only accounting has access to the accounting servers; only HR has access to personnel data, etc.

The application firewall in macOS just lets you allow or block app access to the internet. It will do nothing to protect you if someone is already inside your network and hijacks one of the apps you have allowed access.

If you’ve poked a hole in your router, or you must have sharing services enabled while on a public network, you should be running something more powerful and less glitchy than the app firewall.

Feb 1, 2023 10:55 PM in response to Barney-15E

This is a great summary, and yes I agree if you're looking for something to prevent users from accessing your network, download something like Little Snitch or Lulu. But I have even disabled my Lulu firewall for now just in case that's what's causing the SMB issue.


I'm not sure why people on this thread are so hesitant of using BatchMod. It's more commonly used than people on this thread are making it out to be. So far the temporary workaround I've posted above has been working. It's been roughly 10 hours of use, and the server hasn't timed out even once.


However the steps I've posted on this thread don't work for alias folders that are connected to a cloud service like OneDrive. For some reason I can't find a way to reset permissions on my OneDrive folder and therefore I can't access it through SMB. So in all honesty this isn't a long term solution. Apple needs to fix this asap. And I can completely understand why people are hesitant.


I've also noticed major issues with WindowServer. Ever since the 13.2 update, the SMB connection causes WindowServer to crash relentlessly. You can verify this by opening up Activity Monitor. People on other forums have mentioned that this too might be one of the root causes. But when I spoke to the Sr. Rep at Apple this morning, she stated that the engineers are saying it's surely the Network Firewall that's causing the hang up.


If anyone else gets news, please update this thread. I've escalated this to the highest point at Apple, and I'm expecting someone from the OS engineering team to call me within 3-4 business days.

Feb 1, 2023 11:38 PM in response to somuchforlaunch

Ventura 13.2 is an epic fail. 434mb file transfer from my M1 MBP to my Windows desktop taking over 30 minutes. Upload to Onedrive less than a minute as workaround to download on my Windows Desktop. I'm going to install Win 11 on my MBP and just use this moving forward. Not even an automated email response from apple after logging a bug report to say they are at least investigating the myriad of issues. A colossal fail in my mind!

Feb 2, 2023 3:18 AM in response to tresinnoctem

Same problem here. M1Ultra Studio and all the different iMacs/iMacPros/Studios in the office can't access a 48 TB archive we work with that is DAS to my Studio via TB anymore. Way to go. Turning off Filesharing, rebooting and turning it back on works for a couple of hours and then we're back to computers crashing as soon as they try to access folders in the Archive. SMB and directly going to folders via network do not work. No custom icons that I know of (maybe the green/red etc flags also are metadata...? But we actively use them for the status of files and have quite a lot of these flags...), no firewall. Backblaze installed (newest version), but their support does not seem to be aware of any problem. Same problem with two M1 MacBooks, even in SafeMode. Definitely seems to be a massive SNAFU in 13.2. Really getting Windows-Vista-vibes here, where you were afraid to update (and thus changed a whole system to Apple in the end). Let's hope for a superquick patch, as this is not an annoyance, this is really keeping us from doing our work.

Feb 2, 2023 4:37 AM in response to tresinnoctem

More information and more anguish.


A few pages back I reported that despite macOS clients not having a connection for more than a few seconds, that my Apple TV the Infuse app, which plays content using a standard SMB connection with a host mac, was playing without issue for more than a week since no mac could connect.


I thought the bug could be in the client, and that for some reason the Apple TV as a client was fine.


Well today when I was looking at Sharing permissions, I noticed that the volume that the Apple TV connects to has some how unchecked "Shared" and didnt even appear in the shared items list. Yet it maintained a connection and was streaming to the shared volume all week.


Stupidly I check the 'Shared' checkbox on, it appeared in the shared list as it should....

But now the Apple TV will not maintain a file sharing connection to the mac server and I cannot play any of my movie or music files. It is broken now as well.


But why did it connect and play perfectly as it did before the upgrade, until I checked the shared checkbox on??? Its almost like it kept working settings from before I upgraded the macOS and used those for the last week flawlessly, but now that I have made a change, the stored settings have been updated/corrupted to the new broken configuration that the macs have suffered from all week.


I felt a sense of deja vu, as I remembered that the serving and client Macs I updated a week ago did actually work fine for a couple of hours before I went to bed, then the next day stopped working. But I haven't been able to connect for more than a few seconds since. Were the Macs actually working off remembered settings from before the upgrade, like the Apple TV? until something forced them to retrieve new corrupt settings installed by the OS update?


And for the record, no custom items anywhere and no Firewall ever as I used a router and don't directly connect to the internet.


Doubly upset.







Feb 3, 2023 7:05 PM in response to danielmcross

Just updating this thread:


I've been using the Network Firewall/Batchmod work around now for three days and the server has been very steady. I haven't had any cutouts, and in some ways it even feels faster than before.


Has anyone who has experience with Batchmod had a chance to reproduce? Apple still hasn't gotten back to me regarding the SMB issues.

Feb 6, 2023 5:53 PM in response to tresinnoctem

My case was supposedly escalated, and I was told the senior advisor owning the case is required to check for updates three times a day but I haven't heard anything since 1FEB.


Until Apple fixes whatever is going on with network file sharing in Ventura I set up my own NAS on an old pc and it's worked flawlessly so far, in case anyone is looking for a solution the mean time there are many NAS solutions out there you can run on a variety of hardware. Do a little searching for home has software or open source nas and you will find many options.


Or buy a Synology, or QNAP NAS box if you need something ready to use without building it yourself, but this will be more expensive as the boxes run several hundred dollars and you may need to buy hard disks to populate a Synology or QNAP appliance.


Feb 10, 2023 8:56 PM in response to somuchforlaunch

I set up a small NAS as a test case and access to it has been entirely stable.


As I have had no updates or contact from Apple on my escalation I am waiting on Apple.


Putting more time and effort into building a higher capacity NAS because I don't see anything so far from Apple to indicate they are going to fix whatever this issue is any time soon.


I am quite irritated to have spent the money on a M1 Mini to use as a file server only to find Apple somehow broke something as simple and universal as network file sharing.



SMB File Sharing not working in Ventura

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