Questions tagged [smb]

Server Message Block (SMB) is an application-layer network protocol allowing access to shared files and shared printers over a network.

Filter by
Sorted by
Tagged with
141 votes
8 answers
444k views

How can I mount an SMB share from the command line?

I would like to mount an SMB network share from the command line (terminal); how would I go about that? I am using Mac OS X 10.6.4.
  • 1,575
16 votes
7 answers
80k views

What causes some Network Drives using SMB no longer connect to macOS Catalina?

Running the release version of macOS Catalina some SMB shares will not connect when they did on Mojave. I noticed this first after updating to the Catalina 10.15 Beta (19A487l), I am no longer able to ...
  • 163
12 votes
3 answers
18k views

Is AFP slated to be removed from future versions of macOS?

I have seen forum posts out in the wild that suggest that AFP is "dead". I have seen this question and this post that states SMB is now the "default" protocol for Apple sharing. I am using FreeNAS ...
2 votes
2 answers
2k views

Improve file transfer performance over VPN

I have two Apple machines: a server and a client. Both are running the newest builds of macOS Sierra 10.12.6. The “server” machine is running macOS Server running VPN and file sharing. Both machines ...
  • 3,469
4 votes
2 answers
3k views

Need to automate an SMB path into a UNC path before sending to Win10 clients

New here, but I'm having difficulty putting together an AppleScript that will basically take an SMB link and turn it into a UNC link before I send it over to a couple of Win10 clients. All same ...
46 votes
8 answers
96k views

Disable storage of invisible files "._" on my cfs or smb network storage

I use OS X Mavericks and have some company storage drives mounted (using smb or cfs). (smb://username@address.path.toserver.com/directory/data). When I work with files on the drive or copy files to ...
14 votes
6 answers
37k views

Is there a way to make Windows-style SMB share paths launch correctly?

We have a mixed Windows/Mac network, with Windows fileservers, and an Exchange/Outlook mailsystem. The Windows users send out emails with links to the shared files that look like: \\FileServer01\...
6 votes
1 answer
6k views

"The operation couldn't be completed"/"Operation canceled" error message when saving to a Samba share via Files app

I'm using the Files app on my iPhone and iPad to save photos to an SMB network share provided by Samba on an Ubuntu 20.04 server. Since around iOS/iPadOS 14.5, trying to save a new file to the share ...
6 votes
3 answers
28k views

Share Mac Files (Yosemite) with Windows

I have a combination of Win7 - XP & Apple macbook machines, running on my windows network. The macbook up and till recently had Mavericks 10.9.5 OS X ,, a few days ago I upgraded the macbook to ...
0 votes
1 answer
2k views

Problems with macOS path on Synology NAS (SMB)

I am having issues with macOS where, after mounting a drive it will mount new drives instead of just jumping to the sub-folder path within the mounted drive. For example, I'm seeing where I send ...
20 votes
3 answers
12k views

Mac mini can't connect to my corporate SMB server. Was working some days ago

I'm at work, and my Mac mini has stopped being able to connect to the corporate SMB server shared folders. If I try Finder > Connect to Server (using the URL stored there from previous successful ...
  • 589
12 votes
4 answers
30k views

Mount network share (AFP/SMB) for multiple users (fast user switching)

i'm having the following problem with my network shares from my NAS (Synology 415+ if it matters) in Yosemite. At home, we have an iMac with two different users. I moved all of our media (music & ...
10 votes
2 answers
14k views

SMB share deadlocks since High Sierra

Probably even since some very recent macOS update i'm experiencing quite frequent crashes of SMB connections i use which run on Windows Server 2016 on a local vmWare Fusion machine. Performance is ...
  • 213
9 votes
4 answers
6k views

Dot-files and other meta data on non-Mac network shares

Is there a way to tell Finder to not use (or worry about) the ._* files and other meta-data files it normally tries to use when it's on a network share? Currently when I'm in Finder and I try to copy ...
  • 1,249
8 votes
3 answers
7k views

SMB connections throws authentication error after upgrading Mac OS X to 10.13

After upgrading Mac OS X to high sierra, SMB connections started returning authentication error. If I use it on other computer (using el capitan), it smb connection works fine with my username and ...
7 votes
2 answers
14k views

How to automount SMB share in OS X

I am running OS X Lion. I have the following line in my /etc/fstab: //darren:q@acid/home /acid smbfs nodev,nosuid,auto If I run mount -a, the share mounts correctly, but if I just reboot the ...
's user avatar
15 votes
3 answers
25k views

How can I tell what version of SMB is negotiated when I connect to a share from macOS?

I have quite a few file servers at work that serve up files over SMB/CIFS. How can I tell what version is negotiated when someone says that I need to be sure I'm connecting over SMB version 3 to get ...
  • 223k
4 votes
5 answers
5k views

SMB: auto-unmount then unable to re-mount without restart

I have a recurring problem with mounting/un-mounting remote directories via SMB, however I don't know what triggers the problem nor how to resolve it. Background: After successfully mounting the ...
  • 161
6 votes
2 answers
8k views

How to disable ._ AppleDouble files for SMB?

I have a small problem. I don't want that our Macs here create the ._ files to the network drive. For example when you copy an image over the finder to the SMB storage. Is there a way to disable this ...
5 votes
1 answer
7k views

Terminal (bash) - copy files from Windows (SMB) shares without mounting

In past OSX versions, one could copy files from SMB shares like so: smbclient //my-server/foo -U USER%PASS -I 127.0.0.1 -c "get my.file" However, in recent versions, sbmclient has been replaced ...
3 votes
1 answer
2k views

Slow SMB connection Buffalo Linkstation

How I can force El Capitan to use SMB3 (I have heard it perform better than this)? Windows machines connect and list files fast but OS X machines are terribly slow and becoming nonuse because there ...
4 votes
3 answers
3k views

Mounting SMB share on Monterey is rejected

Both my server and my client are running macOS Monterey 12.4. I've shared folders on the server, enabled SMB sharing in the options and enabled the accounts for Windows sharing. On the client, I ...
3 votes
1 answer
1k views

Print file from terminal via smb

So UI printing fails with no reason as always. I hope that I can get more details by printing from command line. Tried smbutil print //user@host/share file got: smbutil: unknown command print Do ...
  • 937
1 vote
3 answers
9k views

Cannot connect to SAMBA shares drive after update to Catalina

I have a raspberry pi 4b running raspbian buster lite, connected to this I have a 1TB HDD, on Mojave I was able to connect to the network folder and access the files on it, however with the new ...
8 votes
9 answers
83k views

Permissions issue when copying files over SMB to server on OS X 10.9 Mavericks

First of all I'd like to say that I've spent most of the day trying to figure this problem out. I've already read quite some articles on this issue but can't seem to find the specific issue I'm ...
8 votes
0 answers
9k views

Why mac smb connect fails with login from cli but works from finder and with guest account?

So i have one mac (Yosemite) sharing a folder read only for many users and the guest account is enabled to mount/access that folder so users may download whatever. I am connecting to the share as the ...
  • 479
7 votes
2 answers
5k views

Samba issues (deadlocks and instability) in OSX 10.10.1?

I'm trying to narrow down the cause of a problem that I'm having with OSX 10.10.1 and wanted to see if anyone on here could help weigh in. I have a Linux-based Samba server running the latest version ...
  • 824
9 votes
4 answers
26k views

OS X Samba file sharing continuously asks for password

I'm trying to share my MacBook's files via Samba sharing. I've set it up in Settings, but can't connect to the machine from another computer! On the other computer I set up the connection with the ...
7 votes
3 answers
33k views

Since upgrading to OS X Mavericks, I can't open any files on a SMB share from my Windows 8.1 PC

I have a PC with Windows 8.1 and a Mac with Mavericks. I have a folder on the Mac that is shared with the PC. When I'm on the PC and I try to open a file that is shared by the Mac, such as an ISO file ...
  • 4,151
4 votes
3 answers
2k views

iPadOS: Creating files on SMB share

A new issue has cropped up for me—possibly since iPadOS 14 was released (last week as of this writing), but I’m not sure it hasn’t been around longer since it’s been some weeks since I last tried ...
  • 536
4 votes
4 answers
68k views

How to access Windows share from an iPad?

I didn't find any iPad app that's supporting samba. What is the best way to access Windows shares from an iPad?
3 votes
1 answer
2k views

Office lock files on SMB share seem to still be present after Office is closed

One of our Mac user (macOS 10.12.6) is working together with some other guys who use Windows. The data they are working on resides on a central server which the Mac guy connects to via SMB. Microsoft ...
  • 199
2 votes
4 answers
16k views

Odd permissions issues on Windows Share

I'm handling the IT for a Mac based design studio and they're having weird issues with files on a Windows Server 2008 R2 server. They should have complete access to everything, they can create, delete,...
9 votes
2 answers
6k views

Why is my Hard Drive and User folder shared when I turn on osx file sharing?

I decided to try file sharing on a mac mini, and noticed something odd. When I go to settings > Sharing, and enable File Sharing, then add ~/Shared. Now ~/Shared is the only item listed. When I go ...
  • 2,768
9 votes
2 answers
5k views

Macs Disconnect from SMB Share: "STATUS_NETWORK_SESSION_EXPIRED (0xc000035c)"

I have some Ubuntu Servers running Samba with Winbind. Everything is fine, but Macs will randomly disconnect overnight, or at some irregular interval. On the servers, Samba logs this as two events: ...
  • 2,452
3 votes
1 answer
891 views

smb not working for me on 10.13.6 (dtruss inside)

my Finder is not able to connect to ANY smb-share. It doesn't matter, if the network-folder is on linux (SAMBA 4.1.17) is on OSX (10.11.6) is on Windowsserver is public for everyone or in a ADS It ...
  • 161
3 votes
1 answer
1k views

GUI for managing automounting of fileshares?

I have a bunch of MP3 files on an SMB share. They play great if I use Finder's Connect to Server to mount the disk first, iTunes thinks they have names like /Volumes/musicshare/foo.mp3. But if I ...
  • 1,084
3 votes
1 answer
548 views

SMB connection to external Thunderbolt drive not working in MacOS Catalina

After upgrading to macOS Catalina, I can no longer connect to one SMB drive from my MacBook Pro with MacOS Mojave. The share is stored on an external Thunderbolt drive. It always shows an error ...
  • 241
2 votes
0 answers
1k views

Should I be using AFP or SMB?

I know that Apple has made SMB the default network protocol for a few releases now. However is there any benefits of using AFP? Is there anything I can do on a AFP volume that I can't do on a SMB ...
  • 2,195
1 vote
1 answer
725 views

File sharing always given authentication errors [duplicate]

I've used file sharing on all my Macs in the past, and it works great. I got a new M1 Mac Mini, and as usual, I tried to enable File Sharing on it. Every time I attempt to connect to it from other Mac ...
  • 7,954
0 votes
2 answers
5k views

Why is my OSX client having so much trouble connecting to our SMB server?

I've already asked this question on ServerFault, but I'm beginning to think that this might be an issue more with my OSX client machine than our SMB server. I'm using 10.9, but this problem happened ...
5 votes
1 answer
1k views

mac fails to reconnect to SMB share after coming back from suspend

I've got a mac (OS X 10.8.2) that's accessing files on an Win7 SMB share. About half the time the Mac comes back from suspend it can't connect to the SMB share. The Win7 machine is on and the password ...
  • 788
4 votes
4 answers
28k views

"The operation can’t be completed because the item is in use" when deleting from Samba mounted drive

I have a USB drive plugged into my Asus RT-N66U router and shared over SMB. I originally formatted this drive on a Mac. I have two Trendnet TV-IP572PI surveillance cameras that records snapshots/video ...
  • 141
3 votes
1 answer
4k views

Mounting SMB network share from Mavericks recovery mode

I would like to be able back up my macbook on a weekly basis doing the following: boot into recovery mode mount a windows SMB network share use disk utility to save a disk image to the network share ...
3 votes
3 answers
11k views

How can I copy the full smb:// link from a file in Finder?

I work in a Windows environment with many different shared drives. I commonly have Finder windows open to different shared drives and nested folders. I have a Service set up (that I created in ...
  • 131
3 votes
1 answer
554 views

Retrieve network password (network share) from keychain in terminal

How can I retrieve my NAS password from Keychain using the terminal? Using security I can retrieve both application and internet passwords, but I've been unsuccessful for those where kind is set to ...
's user avatar
3 votes
1 answer
13k views

mount_smbfs: server rejected the connection: Authentication error on Mac OS High Sierra 10.13.6

On my ubuntu server i have a few shares that I can access from finder in the style: smb://server.domain/share successfully without having to type in a password. When I try to mount the server shares ...
3 votes
3 answers
6k views

List and define SMB shares from command-line

In MacOS, is it possible to list and/or define SMB shares at the command-line? On a Linux machine with Samba, I can use the testparm command and the /etc/samba/smb.conf file. On Windows it would be ...
  • 885
2 votes
3 answers
15k views

I can not connect to SMB shares after upgrading macOS from Mojave to Catalina [duplicate]

Before I upgraded, I used Command K to connect an SMB share. I had upgraded macOS from Mojave to Catalina yesterday. When I use Command K to connect that SMB share, it doesn’t work. Does the new ...
  • 21
2 votes
1 answer
2k views

Is it a bad idea to compile Samba from source for Mac?

We have a Linux NAS and we’re doing some basic Samba sharing. Windows machines are quick and peppy to connect with the device, as are the Linux VMs I’m running on my Mac. The SMB stack Apple has made ...