Skip to main content

Connect to server (afp, smb, nfs)

We will discuss about the different protocols and the process to connect to server using each of them using a Mac OSX machine. The famous protocols to connect to server used in Mac are: afp, smb, WebDAV & nfs. Lets have a look at each of them in details.

 

Connect to an AppleShare server (afp):

   1. Under Finder, select ‘Go To’ menu, now select ‘Connect to Server’ or press Command+K .

   2. In the Connect to Server window, type the fully qualified domain name (FQDN) or IP address of the server. Click Connect.

   3. In the authentication window that appears, type the credentials for the server. Now click on Connect.

   4. Select the volume of the server and click OK.

Connect to Windows file sharing (smb):

   1. Under Finder, select ‘Go To’ menu, now select ‘Connect to Server’ or press Command+K .

   2. In the Connect to Server window, type smb:// , followed by the fully qualified domain name (FQDN) or IP address of the server, a forward slash, and then the name of the shared volume (e.g. smb://macmasters.net/fileshare/tutorials)

   3. Now click on Connect.

   4. In the authentication window that appears, type your username and password for the server.

To connect to an Network File System server (nfs):

   1. Under Finder, select ‘Go To’ menu, now select ‘Connect to Server’ or press Command+K .

   2. In the Connect to Server window, type nfs:// , followed by the FQDN or IP address of the server, a forward slash, and then the path of the exported share (e.g., nfs://macmasters.net/fileshare/tutorials/unit1).

   3. Click Connect.

To connect to a WebDAV server (http):

   1. Under Finder, select ‘Go To’ menu, now select ‘Connect to Server’ or press Command+K .

   2. In the Connect to Server window that opens, type the URL of the WebDAV shared volume (e.g., http://macmasters.net/).

   3. Click Connect.

   4. In the authentication window that appears, type your username and password for the server, and then click OK.

Comments

Popular posts from this blog

Welcome the new macOS - Mojave

Apple has released 3rd Beta verion of their macOS Mojave, so we thought to give it a try. What we found is that the product is really promising. They have improved many things that we never realized is actually a need.  Instead of writing what we loved, we prefered to collect posts that include all new features. If anyone needs Mojave Beta release, please send an email to:  Laeeq.Humam@hcl.com , we would be glad to share it.    List of new features: https://gizmodo.com/all-the-new-features-coming-in-macos-10-14-mojave-upda-1826531489 https://appleinsider.com/articles/18/06/09/90-new-changes-features-in-macos-mojave https://fieldguide.gizmodo.com/10-useful-new-features-hidden-in-the-macos-mojave-beta-1826603113

BREAKING THE CHAIN

Fixing Keychain issues What is Keychain & how it works? The Keychain consolidates various p asswords and passphrases in one place and makes them accessible through a master password or passphrase . When an application (including the Finder ) needs to access a pass word stored in the Keychain , the application asks you to unlock the Keychain if it is not already open. However there are certain settings in Keychain application which, wh en done, system will not prompt you for password & l og you in straight away. Keychain Access & Keychain Minder These are two contributors to Keychain , of which Keychain Access being the main controlling system and Keychain Minder is used just to change the Keychain master password, specially in the case when you don't remember the old one. Changing the password with Keychain Access Go to Applications (Command+Shift+A) and Open Utilities. Locate Keychain Access & open it. Click on Edit and select Change Password for

How to get current loggedin user on Mac via script

I won't waste time wiring details. This works as of today, but what will Apple do in future, only God knows.  🤓  It's always suggested to run the command without variable to ensure it work, but you probably know that.  CurrUser=$(echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ && ! /loginwindow/ { print $3 }')