Connecting to Network Shares on Ubuntu

On 22.04:

  • Install the "smbclient" package which is necessary for accessing SMB/CIFS shares
    • Open the terminal and type sudo apt install smbclient, then press enter
  • Open the Samba configuration file using a text editor like gedit. Note that you might also want to install the samba package if it’s not already installed, as this will provide the Samba configuration file
    • Type sudo apt install samba if it is not installed alread 
    • Open the configuration file by typing sudo gedit /etc/samba/smb.conf
  • In the "smb.conf" file, find the line containing workgroup=. Replace it with the following 4 lines and save when you are done:
    • client use spnego = no
    • client ntlmv2 auth = no
    • workgroup = WINWIRKGRP
    • client max protocol = NT1
  • Now you should be able to access the network share via the file manager:
    • Open the file manager
    • Click on "Other Locations" at the bottom right corner
    • In the "Enter server address" field, type in smb://fsvs01/Public
    • When prompted enter your Olin network username as the username, domain as olin.edu, and password as Olin network password and click connect
Was this helpful?
0 reviews