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
2
votes
0answers
917 views

Server-side copy on SMB share via command line

I need to copy a large number of files and folders from one folder to another on the same SMB share exposed by an Isilon server featuring server-side copy. Copying individual files and folders through ...
2
votes
0answers
3k 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 ...
2
votes
0answers
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
votes
0answers
126 views

Yosemite Server SMB Browsing

Been experiencing endless issues with file sharing on Yosemite server and latest Server App (5.0.x). When a user connected to the server in the finder sidebar, it connects with SMB and they experience ...
2
votes
2answers
2k views

Impossible to connect to shared folders from Windows XP to Mac OS X 10.10

I am trying to set up a Macbook running Yosemite 10.10.5 and a PC running Windows XP in order to share some folders on my home network. Briefly summarizing, I have defined a constant IP they will use ...
2
votes
0answers
299 views

Attempting to copy a .zip file over SMB results in “Invalid argument”

I am on OS X Yosemite. I have connected to my work via VPN. I have mounted a share on the VPN over SMB. I can see the .zip file that I want (I just created it) but I cannot copy it: Rammy:Main phrogz$...
2
votes
0answers
604 views

Add an OS X Server Account Fails With No Clear Error

I have basically pure Mac Networks, one production and one test. Both are running 10.9.4 and the servers have the latest Server.app. I used to be able to configure users' access to services by using ...
2
votes
0answers
599 views

Mavericks permission issues with Windows Server deduplicated shares

We have a number of 10.9-10.9.3 - Mavericks - machines installed throughout our facility. Much of the user content is pulled from shares stored on our Windows Server 2012 fileservers with ...
2
votes
0answers
451 views

Unable to mount SMB share using Snow Leopard

I have a Linux box (Raspberry Pi) with Samba set up, and when I try to mount the shares on a MacBook Pro (Snow Leopard, 10.6.8) it just stalls. I have an Applescript that runs at login, which I use to ...
2
votes
0answers
2k views

is it possible to directly mount a subdirectory of a smb path?

I am new to osx but am very experienced with Linux and Windows. I need to mount a subdirectory of a shared drive so the user can access it without being confused by seeing higher levels in the smb ...
2
votes
2answers
4k views

Can you change the name of a network drive?

I have a couple of network shares which all have the same name on different servers and I'd like to change the label of the mounted disk to tell me which server its on. Can mounted network drives be ...
2
votes
0answers
1k views

Finder stuck at “connecting to server” via afp/smb

I own a NAS (a D-Link DNS 320, to be more specific) which has two hard drives and multiple network shares. I can connect to these network shares using the AFP or the SMB protocol. When I want to ...
2
votes
0answers
2k views

How do I auto-mount a SMB share on OS X 10.8? [duplicate]

How do I auto-mount a SMB share on OS X ? I know how to mount it using GUI: Cmd-K on Finder but I want a solution that would restore them after reboot/relogin. This questions applies to latest OS X, ...
2
votes
2answers
6k views

Can't mount AFP and SMB shares through Finder but can manually mount via terminal

I have Mac OS X 10.6.8 on a laptop which cannot mount or connect to any shares, AFP or SMB, through Finder. I can, however, connect through terminal bash commands and is able to mount them this way; ...
2
votes
1answer
2k views

macOS Sierra and QNAP SMB share - Disk does not support Time Machine backups. (error 45)

Quote from macOS Sierra: Disks you can use with Time Machine If your backup disk is on a network, the network server can use Server Message Block (SMB) file sharing. Your Mac must be connected to ...
1
vote
2answers
237 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 ...
1
vote
3answers
69 views

How do I transfer files fast over two network shares?

I have two shares (A, B) on the same volume on a synology NAS. I'm have the two shares mounted in finder, but when copying or moving files it takes forever, even with SMB3 on. I can of course use ...
1
vote
3answers
104 views

Can't restore from Time Machine server

I have a Mac mini running 10.14.5 as a server. In System Preferences / Sharing I set up a shared folder on second internal drive HFS+ formatted drive for time machine backups. Backing up and entering ...
1
vote
3answers
4k views

How to create a link, for multiple users, to a network share, which itself is on a network share?

Working Windows-based solution I've got a folder on a network share which works great in Windows. It is basically an index of other available file servers. It looks something like this: \\server1\...
1
vote
2answers
1k views

Should we use smb or cifs to connect to a Linux NAS?

If it is a Linux NAS (WD EX2100 or EX4100), should we use smb://MyCloud or cifs://MyCloud to connect to it if for some reason, it doesn't show up at the side panel of Finder? The above line is to ...
1
vote
2answers
3k views

Rename SMB Servers

I have 2 SMB servers that I connect to on a daily basis. One is my development server and the other is my production server. Both of them are a little different in the folder structure. When they are ...
1
vote
2answers
6k views

SMB share only accessible with FQDN or IP address, netbiosname no longer resolves

We have several Macs in our office, ranging from 10.5.8 - 10.8.2. Until a few days ago all of the machines could access all of our file servers, running on Win 2007 server, using just the netbiosname ...
1
vote
1answer
160 views

Finder thinks item exists after it's already been deleted (Samba)

First, I copied foo.7z to my SMB share (zfs zpool, Ubuntu 18.04 LTS, Samba 4.7.6) through finder. Over SSH, I moved it elsewhere on the server. I tried copying a different foo.7z again to the same ...
1
vote
1answer
871 views

Where to configure Time Machine quota when backing up to Mac Server

We use a Mac Server in another subnet as a Time Machine target for some of our MacBooks (macOs 10.13). Despite the manual configuration caused by the server being on a different subnet, this setup ...
1
vote
3answers
2k views

How to escape password for smb mount

I want to mount a SMB share with different user credentials. Therefore I want to use mount -o nodev,nosuid -t smbfs //user:pass=<word@host/share /mnt/share However, this command fails: -bash: ...
1
vote
2answers
2k views

Slow performance accessing Ubuntu Samba folders

I have a computer at home with an Ubuntu Server 14.04. This server has several hard disks that are shared using Samba. I have an iMac with OS X El Capitan 10.11.5 and I use one of the shared disks to ...
1
vote
2answers
919 views

How can I configure OS X server to advertise SMB over bonjour?

We have an OS X mac mini server that stores/shares our files and our Time Machine backups (which is why AFP needs to be enabled). We were having issues with AFP and network files being held open ...
1
vote
1answer
1k views

Can't Connect to Samba Drive Using OS X Lion

I've come across many threads on Apple, but haven't found a solution that works for me. I understand that the Samba has been removed from OS X, and Apple has developed their own version. I remember ...
1
vote
1answer
3k views

Cannot write to SMB Share with Terminal OS X 10.8

I am trying to copy some files from my local drive to a SMB share I have set up on my home network using Terminal, but I keep getting this error: fchmod failed: Permission denied The share is set ...
1
vote
1answer
14 views

Adding smb printer through terminal

Goal: Add a domain printer just through the terminal without using its IP address. Following the instructions here: https://dae.me/blog/1826/add-a-printer-via-command-line-in-os-x/#comment-256587 I ...
1
vote
1answer
429 views

Cannot connect to my SMB server on MacOS

When I connect to my SMB Linux server by running: smb://ubuntu it shows me 2 shared folders and that's normal. I made the first folder working without a password and that's working fine. The second ...
1
vote
1answer
168 views

smb server not showing in the Finder sidebar under Locations

I installed samba on linux. From Finder > Go > "Connect to Server …" I can connect to the server and see my folders. The server shows up in the Finder sidebar under Locations. When I unmount the ...
1
vote
1answer
76 views

Clever sysadmin needed! How to keep SMB shares mounted?

We have multiple Mac OS/OSX servers (A mix of El Cap and High Sierra) that have SMB shares mounted for backing /archiving jobs (chronosync and P5) The SMB shares are connected via "connect to server" ...
1
vote
1answer
174 views

Finder “copy as pathname” adding smb:// on Mojave

On previous MacOS versions using the "copy as pathname" option from Finder would provide me the local mounted path on SMB resources ex: /Volumes/mountname/folder1/folder2 Now on Mojave its giving me ...
1
vote
1answer
239 views

Modify permissions of files created via SMB in a specific directory

I have a multifunction printer that has a SMB-capable scanning unit. I want to have the printer send scans to an SMB share on my iMac running macOS High Sierra (10.13). I do not want to store my main ...
1
vote
1answer
53 views

NAS sharing SMB

If I use a NAS for file sharing and use SMB do Mac users loose all Metadata capabilities ? Specifically color labeling and the use of Spotlight searching ?
1
vote
1answer
34 views

Why is my mac sharing the macintosh disk, and home folder?

I have just fresh installed an ubuntu 18.04 on my desktop and decided to try connecting each other (my macbook pro) via SMB. To my surprise, when I connected to my mac, using my ubuntu desktop, the ...
1
vote
2answers
3k views

Greyed out/inaccessible files on File Sharing server on Mac OS

My company has a single file sharing Mac Pro computer that every user connects to. Occasionally a user will drop a file in a folder for another user to access, but the the files will be greyed out and ...
1
vote
1answer
467 views

how to share disk with samba to Mac on another network (High Sierra)

I'd like to share a disk to a Mac on the WAN using the smb protocol. To share the same disk over afp, I simply forwarded port 548 to be available to the WAN. For smb, I've tried forwarding every ...
1
vote
1answer
498 views

How can I have Finder mount an SMB share from ssh without confirmation?

In a bigger piece of AppleScript, I need to mount an SMB share. This works: tell application "Finder" to mount volume "smb://server/share" That is, it works without asking questions, from the Script ...
1
vote
1answer
409 views

Searching for files on SMB share shows all files as question marks “?” on macOS High Sierra

Searching on SMB share in Finder on macOS High Sierra (10.13.3) shows all files names as "?". The correct kind and size is identified, it is just the name that is messed up. Browsing works fine and ...
1
vote
1answer
2k 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 ...
1
vote
1answer
2k views

Ensuring file sharing stays enabled MacOS

I have a large set of mac mini's in the field with smb/afp shares enabled. For reasons completely unknown to me the file sharing sometimes gets disabled for some nodes. I could not find a single thing ...
1
vote
1answer
75 views

Unmount fails with: “failed to clean up smb mountpoint(s)”

I have mounted an SMB share and I want to disconnect, but CMD-E just dims the share disk symbol on the desktop but never completes. System log says: förval 10:09:00.748510 +0100 lsd ...
1
vote
3answers
2k views

Cannot Connect to Windows Server Shares

For years now, I have managed a mixed-device shop, with Windows 2008/2012 servers. Typically, connections are made using smb://share_name, users authenticate, and file shares are then selected. For ...
1
vote
2answers
5k views

How can I switch back the SMB file service to SMB1?

I am using an Canon print workstation to send files to OS X. Unfortunately OS X El Capitan uses SMB3. It's no longer possible to send files scanned PDF files to OS X. How can I switch back to SMB1 for ...
1
vote
1answer
762 views

Finder reverts to SMB for shares set up as AFP

My Mac Mini running the El Capitan (10.11.1) connects to my Synology DS 1515+ via AFP as follows; afp://c9_nas.local. Finder recognizes the NAS as a fellow Mac when performing a get info. (the ...
1
vote
1answer
788 views

Windows File Sharing user checkbox uncheckable

I seem to be unable to complete the setup of sharing a folder via SMB. I have turned on file sharing and have checked 'Share files and folders using SMB' but I cannot choose a user account under the ...
1
vote
1answer
2k views

Not possible to create a sparsebundle image on a SMB mounted Volume

I'm trying to create a sparse bundle image from Disk Utility directly on my NAS (through a mounted smb volume): I then get the following error after a few seconds: Creating a sparseimage the same ...
1
vote
2answers
282 views

How do I get Samba volume to mount automatically at bootup?

I have a windows share that I can mount via Connect to Server (⌘K in the finder) smb://USERNAME:PASSWORD@SERVER/SHARENAME It there a way to have this volume mount automatically at bootup?