Mounting a network drive under Ubuntu Linux

Learning that lasts. Online courses from $14.99

To access a directory that is shared from a Microsoft Windows system in a Windows domain, you can take the following steps on a Ubuntu Linux system. Note: you will need to have a package installed that provides Server Message Block (SMB) support. If the libsmclient0 package is installed, you should be able to use these steps. You can check if it is installed by opening a Terminal window and issuing the command dpkg -s libsmbclient0. If it is not installed, you can install it with sudo apt install libsmbclient0.

alice@Wonderland:~$ dpkg -s libsmbclient0
Package: libsmbclient0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 259
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: samba
Version: 2:4.22.3+dfsg-4ubuntu2.2
Replaces: libsmbclient
Provides: libsmbclient (= 2:4.22.3+dfsg-4ubuntu2.2)
Depends: samba-libs (= 2:4.22.3+dfsg-4ubuntu2.2), libbsd0 (>= 0.0), libc6 (>= 2.38), libndr6 (>= 2:4.17.2), libtalloc2 (>= 2.0.4~git20101213), libtevent0t64 (>= 0.15.0)
Breaks: libsmbclient (<< 2:4.22.3+dfsg-4ubuntu2.2)
Description: shared library for communication with SMB/CIFS servers
 This package provides a shared library that enables client applications
 to talk to Microsoft Windows and Samba servers using the SMB/CIFS
 protocol.
Homepage: https://www.samba.org
Original-Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
alice@Wonderland:~$
  1. Open a Files window.

    Files

  2. Click on the field where you see Home, or alternatively press Ctrl+L to put the cursor in that field.
  3. Enter smb://remote_host/share_name, where remote_host is the name of the remote host or its IP address and share_name is the share name on the remote host, then press Enter. E.g., smb://192.168.1.5/public.

    Host and share name

  4. At the Authentication Required window, you can choose either an Anonymous connection or to use an account in the Windows domain, click on Registered User and provide the username, domain name, and password associated with the username. Also select whether you wish to have those credentials remembered. You have the choice of "Forget password immediately", "Remember password until you logout", or "Remember forever".

    AuthenticationRequired