Frequently Asked Questions

« Previous
How do I uninstall the anti-virus software on macOS?
Next »
We have a server, where should we put it?

windows ubuntu macos xibo network zenworks android storage


56. How do I connect to a file server via SMB on macOS?

See also: How do I mount my home directory or shared storage at HNAS?
See also: How do I install anti-virus software on macOS?
See also: How do I access PCFS over SMB using smbclient?
  1. In the Finder, choose connect to server... from the menu.
  2. Enter server name and name of the share, in this example smb://filserver.uu.se/neuro
    Learn about server name and path to your home directory or shared storage at "HNAS" above.


  3. Enter the Windows-domain USER, your username and your password A


    Problem and workaround with AD-connected macOS connecting to HNAS on some shares

    We have with macOS 10.12.6 had problems connecting to the HNAS service that he university in November 2017. By ignoring the Active Directory Kerberos but instead using old-school password maybe the problem go away. The way of fooling the Mac is to connect to the IP instead. Like this

    $ host bmci-users.files.uu.se bmci-users.files.uu.se is an alias for uuc-nas110.user.uu.se. uuc-nas110.user.uu.se has address 130.238.2.140 $

Another possible solution for this is to try using cifs instead of smb.

Just replace smb with cifs in the path. Read more about Cifs and SMB at Wikipedia.

Using the command line

Here are a few examples on how to mount on the command line

mkdir ~/Desktop/account mount_smbfs //user;account@TLA-Users.files.uu.se/TLA-Users$/account ~/Desktop/account

/usr/bin/osascript -e "try" -e "mount volume \"smb://jny25782@bmcit-common.files.uu.se/bmcit-common\"" -e "end try"

mkdir ~/Desktop/account open "smb://jny25782@bmcit-common.files.uu.se/bmcit-common/"



 

This entry connect.to.server.on.mac was last modified 2019-03-01

   

This documentation is covered by GNU Free Documentation License. 11 ms