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 Top-ranking 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

Mar 27, 2023 1:47 PM in response to swixo

"My case is not resolved with 13.3. The workaround (sharing off - reboot - sharing on) still does work."


Tip: Before you reboot, Go to Settings/General/Sharing and click the little circle with the "i" next to the toggle. It will bring up a list of shares. REMOVE ANY SHARES THAT ARE LISTED. Then turn file sharing off and reboot. Then turn file sharing back on. That is what finally worked for me.


P.S. You can turn off SMB from that same nested dialogue (click "Options") if you want to experiment.


abromber

Dec 29, 2022 9:15 AM in response to Max Correia

Later today it turned out, I had to deactivate the builtin firewall, too. When I tried to reactivate it, file sharing didn't work anymore. In fact, I had to do the full thing again (grant admin privileges, turn off, reboot, turn on, revoke admin privileges (which needs another reboot).


I had issues with the builtin firewall multiple times in the last years. Last time it was screen sharing, now its file sharing. Well, I gave up. I FINALLY deactivated it. I'm running Little Snitch, which also works as a firewall for incoming traffic, so I still "feel save". :-)

Jan 26, 2023 7:15 AM in response to LeonardoCanaya

It seem everything reloved around firewall at least for me. I just turn off the Sharing and confirm my firewall is turnoff. Then I update the the OSX 13.1 to OSX 13.2. After that I turn on the Sharing and confirm its working fine, but as soon as firewall turn on after 1 min, the problem comes back. So I waited for 6 min and try again with firewall on, but the problem still exist. So i turn off the firewall and restart the machine with Sharing on. It solve my problme.


Final result is = Firewall blocking stuff and problem exsist since launch of the OSX 13

Feb 14, 2023 5:06 PM in response to minion003

If I'm not mistaken, the smbd full disk access is turned on automatically when SMB file sharing is turned on.

It's not, as noted by many people here. I think it was put into Full Disk Access on my Mac, but it wasn't enabled. When users here noted they could no longer access their Desktop, Documents, and Downloads over SMB, I looked for smbd in Full Disk Access and enabled it to check. I have had to explain to others where to find smbd in order to add it to Full Disk Access. It is completely unnecessary for normal file sharing. It is only under Ventura that the privacy settings prevent seeing folders in the Desktop, Documents, and Downloads folders without user permission. The SMB daemon does not ask for access (at least as far as I could tell).

The way we had implemented SMB on the file-server was through user R/W access to select folders and drives specific to each user. Our file sharing is activated only on the server side and not the client sides. On the client side there is no smbd daemon running.
ll clients were Mac OS Ventura (Intel based) and the server was Ventura (M1 based) as well.

If you use Sharing Only users, you can configure specific permissions for everything within the File Sharing Settings. If you create real users on the Mac, when they log in via File Sharing, they will have whatever permissions they would have if logged in directly. The File Sharing permissions do not override those.

There are times when File Sharing creates ACLs for the folders, and those could possibly override the normal user POSIX permissions.

Mar 3, 2023 8:47 AM in response to macmarkco

All - During my testing I all of a sudden made this issue go away, accidently.


I turned on "Remote Login" and "Remote Management". (Under Sharing)

Made sure I had permissions for each (click the "i" by each). File Sharing off.

Reboot.

After restart - Turn the remote options off (or leave them on) and enable file sharing.

My mac now will share files across reboots. I do not know why this is working and would rather it didn't, so we can get it fixed. '

Please try this and report what happens.


Mar 12, 2023 12:33 PM in response to somuchforlaunch

If you follow the thread, it is pretty clear that this fix is currently in beta test. It will presumably appear in your software update when testing is complete.


I put on the comprehensive fix (remove all shares, turn sharing off, reboot, reinstate shared folders) - this has worked and I await whether or how long it will stick. Previous suggestions have all reverted after my laptop has gone on standby and restarted. None of the Get Info boxes had 'Shared Folder' ticked, so I didn't had to make changes there.

Mar 27, 2023 2:04 PM in response to swixo

@swixo - yes -- it fixed it completely on 13.2.1. Everything works normally and has survived multiple reboots, etc. Eventually the shares repopulated in the list, but that hasn't affected anything so far. It's been almost three weeks and I have declared victory. I have not tried 13.3 yet and I am in no hurry. Good luck!


abromber

Jun 19, 2023 11:54 AM in response to Garry Brooke

Thank you, thank you, thank you so much Radek & Garry! I have 3 of 5 mac's where the smbd was broken for many months. I tried everything in this community/support and nothing worked, the iOS updates didn't help (except for 1/5). Today I found this post. Having a look at the firewall settings and setting up the button "allow incoming connections for smbd", worked! Note: I never changed this setting. It must be iOS software update related. I'm so happy, now we can work in the network again after a long period of frustrations!

Nov 27, 2023 6:28 AM in response to Barney-15E

Barney-15E wrote:
When Apple rearrange the settings, they moved the setting into the Guest user section because it makes more sense there, but it’s not the guest user.


Non sequitur.


It clearly is related because when you select “Allow guest users to access shared folders” for the Guest User on the Mac, the Files App will connect and display shared folders. Unselecting this option removes access to the shares.


Try it yourself - enable share option for the Guest User on the Mac, set up the server in the Files App on iOS or iPadOS, connect, choose Guest and then Next, the connection is made and all shares are displayed. Now disable the “Allow guest users to access shared folders” on the Mac and try to use the connection you just created. An Authentication Error message displays, same as selecting a Registered User.


The Mac GuestUser = Guest in iOS and iPadOS. The real issue is using a Registered User/Username - it will just not Authenticate terminating with an Authentication Error (screen shot above).


Nov 27, 2023 10:44 AM in response to MRYFLYGUY

MRYFLYGUY wrote:


Barney-15E wrote:
When Apple rearrange the settings, they moved the setting into the Guest user section because it makes more sense there, but it’s not the guest user.

Non sequitur.

It clearly is related because when you select “Allow guest users to access shared folders” for the Guest User on the Mac, the Files App will connect and display shared folders. Unselecting this option removes access to the shares.

Try it yourself - enable share option for the Guest User on the Mac, set up the server in the Files App on iOS or iPadOS, connect, choose Guest and then Next, the connection is made and all shares are displayed. Now disable the “Allow guest users to access shared folders” on the Mac and try to use the connection you just created. An Authentication Error message displays, same as selecting a Registered User.

The Mac GuestUser = Guest in iOS and iPadOS. The real issue is using a Registered User/Username - it will just not Authenticate terminating with an Authentication Error (screen shot above).

You don’t seem to quite grasp the concept that the guest login for filesharing existed well before the guest user account was created in Mac OS. The setting to enable guest access to file shares was moved into the guest user space in the new settings set up since it makes more sense for it to be there. It may be one of the few things that does make sense in the new Settings layout.

When you enable guest remote login, it is listed as a Sharing Only user, not an actual user account which Guest is if you enable it.


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.

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 Account.