Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [smb]

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

33
votes
8answers
78k 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 ...
16
votes
3answers
5k 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 ...
16
votes
2answers
911 views

How do I connect my iMac to a Windows SMB share drive

I work in an organization that runs a Windows network of 1000s of computers with Windows 7 installed. We have lots of SMB share drives that store information. My job is a new role for a graphic design ...
14
votes
1answer
19k views

Adding a Time Machine destination fails with OSStatus error 17

I'm trying to add a specific, external server as a Time Machine destination. It's not discoverable via Bonjour (always at least, I want to use time machine backup over the internet) so to get it to ...
11
votes
4answers
29k 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\...
10
votes
5answers
65k views

How can I remove old SMB connections?

Whenever I start up my old Mac Mini, I get an error indicating that it can't connect to an SMB share that I set up a long time ago: So that this question is findable via Google, the text of this ...
10
votes
4answers
28k 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 & ...
8
votes
1answer
23k views

command line: unmount a smb network drive

We use Windows Server for my company network. I do use Mac has client. When I mount a network drive, I use the following command line: osascript -e ‘mount volume “smb://myusername:mypassword@...
8
votes
2answers
8k 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 ...
8
votes
3answers
5k 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 ...
8
votes
1answer
6k 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 ...
7
votes
3answers
9k 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 ...
7
votes
2answers
12k 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 ...
7
votes
3answers
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 ...
6
votes
2answers
20k views

Trouble using Time Machine with SMB share in OSX El Capitan

I'm having problems using and SMB share in my local network as a time machine destination. I followed the tutorials widely available on the internet but in the end when I open the Time Machine app I ...
6
votes
2answers
24k views

Synology NAS offer both AFP and SMB2, Mavericks always choose AFP

I have to keep AFP running for my TimeMachine backups, but would like my file shares to use SMB2 because it is much faster (better than double write speed in my tests). Is there a way to make ...
6
votes
2answers
3k 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 ...
6
votes
3answers
27k 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 ...
6
votes
1answer
2k 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 ...
6
votes
1answer
297 views

Controlling File Permissions on a Windows File Share

I'm using a Mac running Mountain Lion (10.8.3) with file sharing enabled to Windows users. Whenever a Windows user copies a file into the share on the Mac (Windows file sharing), the permissions of ...
6
votes
1answer
818 views

Access Lion SMB shares from Linux

I have this fantastic new Lion server that I've gotten all setup with my user accounts, files, etc. File sharing is up and running, everything. Except for one problem: the users running Linux (we use ...
5
votes
2answers
3k views

Connect to SMB server on startup

I got a late 2017 macbook pro running the High Sierra update. I am wondering if its possible to auto connect to a smb server. I need to do this manually everytime i start up at work. And as small as ...
5
votes
3answers
12k views

Why is my Advanced Add Printer mode disabled?

I am using a Unibody MacBook Pro on Lion. I am trying to add a networked printer at work so I can print to it, but OS X is not cooperating with me. Typically for adding networked printers on a ...
5
votes
2answers
8k views

How do I change user password on non-AD Windows Server from a Mac?

I have a Windows server (Win 2003) not using AD, just a simple local file server. My Mac clients can log in fine to the server using SMB in the Connect To Server window on the Mac, and they can ...
5
votes
2answers
9k views

Manually add shared Windows printer in macOS

In OS X one could manually add a printer using the Advanced tab of the printer system preferences dialog with an smb address. How can I manually add a printer in macOS now that the tab is gone?
5
votes
8answers
68k 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 ...
5
votes
2answers
7k 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
1answer
2k views

Issues with files and folders with names containing umlauts

I have just noticed some issues browsing my external music collection using Finder, certain artists folders were missing. Going to iTerm and lsing the folder I got this as the initial report: ls ...
5
votes
1answer
8k views

Is there a way to auto mount SMB storage without nobrowse option?

I want to create an permanent SMB mount and read SMB storage in Finder. So I read following articles. Create a Permanent SMB Mount in OSX (Updated) Automounting NFS share in OS X into /Volumes ...
5
votes
0answers
594 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 ...
5
votes
2answers
4k views

Painfully slow to browse large list of subfolders via SMB and/or AFP

Having an issue where I have a folder on a QNAP NAS with over 68,000 subfolders within it. I can browse it quickly and almost instantaneously within Windows 7 via SMB, however in OSX 10.6.8 and 10.7....
4
votes
1answer
3k views

Given its IP, how can I find out the name of a Windows PC on my network?

I'd like to find out the computer name of a Windows PC (like the name shown in the 'Shares' section of the Finder, e.g. bill-pc) given only its IP address. nslookup doesn't do the trick. I'm also ...
4
votes
1answer
8k views

Disabiling SMB1 on Mac OS

My apologies if the question is a bit trivial, but I am new to OS X and Mac ecosystem. In order to be compliant with best practices at work, I have been requested to disable SMB1 protocol client ...
4
votes
1answer
448 views

Does macOS Sierra support Server Side Copy via SMB and/or AFP?

I'm using FreeNAS and it has the option to share data using SMB or AFP. Since I recently learned that AFP is being deprecated, I'm hesitant to use AFP but I'v read that AFP supports Server Side Copy ...
4
votes
5answers
10k views

Lion not searching SMB volume

I just upgraded to Lion on my work computer and it seems like Spotlight doesn't index SMB volumes. This used to work for me perfectly under Snow Leopard. I've talked with Apple and they said it was ...
4
votes
1answer
640 views

File Sharing User Limit?

Does non-Server macOS still have a file sharing user limit these days? The way they are abandoning the idea of running Mac Servers, it seems plausible they could have removed the file sharing limit ...
4
votes
1answer
288 views

Mount command can not contain Chinese characters

I encounter a problem, I want to mount a shared remote directory, but the url has Chinese characters. mount_smbfs //user:password@192.168.1.168/图片 /Volumes/picture 图片 are Chinese characters, which ...
4
votes
1answer
895 views

SMB and AFP work for guest and Administrator but not other users

I'm having a problem getting file sharing to work between my MBPr and Mac Mini, here's a history of what I've tried: I have a MacBook Pro (Retina, 15-inch, Late 2013) running El Cap 10.11.1 (15B42) ...
4
votes
5answers
4k 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 ...
4
votes
4answers
5k views

Finder is very slow in showing the content of server shared folders

I'm accessing a Windows File Sharing folder on my home server in Finder on my Mac (OS X 10.7.2) using the SMB protocol. When I'm navigating through the folders, sometimes (most of the time) I have to ...
4
votes
1answer
741 views

Files created by Windows on Lion SMB shares have 600 permissions

I have File Sharing enabled in OS X Lion, and I'm accessing the shares using Win XP and Win 7 boxes. I can read and write fine, by when I create a new file, the permissions for that file defaults to ...
4
votes
6answers
5k views

Can't connect from macOS High Sierra to Windows 10 share on home network

At wit's end. Have MBP named newt running High Sierra. Have Windows 10 machine named "Vader" that's always up & running with a physical drive (X:) shared as //Vader/x with permissions set to ...
3
votes
2answers
2k views

SMB share is very slow

I try to mount a SMB share in Finder but I have two problems. The time for mount is about 25s. Folder listings; very slow when there are many elements inside. The smb share is ending by .local. I ...
3
votes
2answers
6k views

Streaming media from Mac to VLC for Android

I have few media files in my Mac which I want to stream on my Android phone. I have enabled File Sharing and enabled both smb and afp protocol. When I check in VLC for Android app, I can see my Mac's ...
3
votes
3answers
6k 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 ...
3
votes
3answers
4k views

Can I Connect to a Local SMB Share?

When attempting to connect to smb://localhost/share, I receive an error that I ought to access the files locally. This is not always desirable. For example, this means I can not use my portable home ...
3
votes
3answers
25k 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 ...
3
votes
1answer
393 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 ...
3
votes
2answers
374 views

Convert .bat command for mapping shared drive to AppleScript

To get access to FTP file shares on a windows web server. I need to run this batch code. I'm on a MacBook so how do I make it so I can run this sort of code? net use W: /delete net use W: \\10.0.2....
3
votes
1answer
1k 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 ...