๐ŸŒ
Ubuntu
help.ubuntu.com โ€บ community โ€บ Samba โ€บ SambaClientGuide
Samba/SambaClientGuide - Community Help Wiki
January 7, 2014 - On the Ubuntu client using the menu at the top, go to "Places" -> "Network". You will see an icon "Windows network" and should be able to browse to your shared folder. You will be asked for a password, leave it blank. Click the "Connect button. ... If you would like to mount your SMB share ...
free software re-implementation of the SMB networking protocol
Samba is a free software implementation of the SMB networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate โ€ฆ Wikipedia
Factsheet
Release 1992; 34 years ago (1992)
Stable release 4.24.4
/ 30 June 2026
Written in C, Python
Factsheet
Release 1992; 34 years ago (1992)
Stable release 4.24.4
/ 30 June 2026
Written in C, Python
๐ŸŒ
Samba
samba.org
Samba - opening windows to a wider world
Samba provides secure, stable and fast file and print services for all clients using SMB and other AD protocols such as LDAP and Kerberos.
๐ŸŒ
Pluralsight
pluralsight.com โ€บ blog โ€บ cloud
Ubuntu - Samba Client Setup and Persistent Shares | Pluralsight
June 8, 2023 - Make your life easier and set up your Ubuntu Desktop with a static IP address. This is done easily enough from your 'Settings' application, specifically the 'Network' settings which should look something like this:You will notice in this particular case, that I have both a local DNS server for my network and a Windows domain. Neither of these are necessary for the purposes of sharing or mounting Samba shares, it just happens to be my configuration.Laying the FoundationNext step in our journey is to install install all the pieces for our Samba client.
๐ŸŒ
Gloves Off Linux
glovesoff.substack.com โ€บ gloves off linux โ€บ samba on linux the easy way
Samba on Linux the Easy Way - by Matt Hartley
February 12, 2023 - Unsure of your LAN IP address on the Samba sharing computer? Run ip address in a terminal. That's it. Browse to this share in Nautilus on your client machine by going to Nautilus, "+Other Locations", then at the bottom of Nautilus is "Enter server address," then enter smb://ip-address.
Top answer
1 of 1
1

The simplest way since you are asking for Ubuntu support is to install Samba (as well as many thousands of apps) using Ubuntu's commandline apt tool. Install from the default repository.

To get to the commandline interface, hit this keyboard shortcut: Ctrl+Alt+T.

Then at the run this at the terminal prompt:

$ sudo apt install samba

Edit the/etc/samba/smb.conf file to create the shares you want to provide on the server.

Create the directory you want to share (or use a directory you already have) then add the share to the smb.conf file.

Creating a shared folder:

$ sudo mkdir -p /mnt2/mysharedfolder

Add the share to the server:

Sample share entry (/etc/samba/conf):

[sharedfolder]
        comment = My Server Shared Folder
        path = /mnt2/mysharedfolder
        force user = user1
        writeable = yes
        browseable = yes
        create mask = 0700
        valid users = user1, user2

Change user# for real user names that you have created on your server and created a samba account.

Create the samba account with:

$ sudo smbpasswd -a user1

Other available configurations such as mask are explained in details in the notes of the /etc/samba/smb.conf file. You can also access the manual using the commands man samba or man smb.conf.

After making a change to the /etc/samba/smb.conf be sure to restart the samba server with:

$ sudo systemctl restart smbd

You might consider upgrading your Ubuntu OS to the lastest LTS version, which currently is version 16.04, which will be supported with release updates for the next 5 years. A non lts version will have release updates for less than a year.

๐ŸŒ
Atlantic.Net
atlantic.net โ€บ home โ€บ blog โ€บ how to create samba share on ubuntu
How to Create Samba Share on Ubuntu | Atlantic.Net
May 14, 2025 - In order to access the Samba share, you will need to install the Samba client on the Linux system.
Find elsewhere
๐ŸŒ
Ubuntu
ubuntu.com โ€บ server โ€บ docs โ€บ explanation โ€บ intro-to โ€บ samba
Introduction to Samba - Ubuntu Server documentation
December 15, 2025 - Introduction to Samba for file and print sharing between Ubuntu and Windows systems including SMB protocol and Active Directory integration.
๐ŸŒ
Samba
samba.org โ€บ samba โ€บ docs โ€บ current โ€บ man-html โ€บ smb.conf.5.html
smb.conf
If they aren't, Samba must do a filename search and match on passed names. The default setting of auto allows clients that support case sensitive filenames (Linux CIFSVFS and smbclient 3.0.5 and above currently) to tell the Samba server on a per-packet basis that they wish to access the file system in a case-sensitive manner (to support UNIX case sensitive semantics).
๐ŸŒ
Ubuntu
ubuntu.com โ€บ server โ€บ docs โ€บ how-to โ€บ samba โ€บ file-server
Set up Samba as a file server - Ubuntu Server documentation
2 weeks ago - Set up Samba as a file server to share files between Ubuntu and Windows clients with or without authentication requirements.
๐ŸŒ
Samba
samba.org โ€บ samba โ€บ download
Download Samba
The Samba source code is distributed via https. View the download area via HTTPS. The file you probably want is called samba-latest.tar.gz. Old releases are available in the Samba archives ยท The Samba distribution GPG public key can be used to verify that current releases have not been tampered ...
Top answer
1 of 2
2

But I can't go and see the shared directory or any directories on TIBERIUS

I do NOT want the Linux laptop to be the server as it's only intermittently on the network.

There is a bug in the gvfs backend ( gvfsd-smb-browse ) of your file manager that attempts to access the Win10 host and its share using a dialect of smb ( smb1 ) that Win10 has disabled.

That does not mean you cannot access the Win10 server - you just have to bypass the bug by asking for the host explicitly by its mDNS host name and share name in Thunar:

smb://tiberius.local/share-name

The .local part is something Win10 can now do by default.

2 of 2
1

The Samba configuration file can be confusing.

I show you how to use a graphical tool (system-config-samba) to set up Samba server.

Install the Samba server suite from Ubuntu repository by running the following command in terminal.

sudo apt-get install --reinstall samba samba-common-bin

To start these two services, issue the following commands:

sudo systemctl start smbd
sudo systemctl start nmbd

Now run the following command to install system-config-samba

sudo apt-get install system-config-samba
sudo touch /etc/libuser.conf

Create a Samba user, replace username with your preferred username

sudo adduser username

Set a password for the new user,You can press Enter to answer the remaining questions

Also need to set a separate Samba password for the user.

sudo smbpasswd -a username

Start system-config-samba, run the following command

sudo system-config-samba

In the Samba GUI, click Preferences ---> Server Settings menu.

Make sure the value of workgroup is the same with the workgroup settings of Windows computers.

Then click the plus button to create a Samba share, and in the Basic tab, specify

The directory/folder you want to share
The share name
A description of the share
Whether the remote user can write to the Samba share or not
Whether other computers in your network can see the Samba share or not

In the Access tab, select the Samba user you just created and click OK.

If the Samba user isnโ€™t displayed, please restart system-config-samba.

If you select Allow access to everyone, then others in the same network can access the shared folder without entering a username and password.

You quickly share a folder using Samba with Thunar without requiring root access.

Top answer
1 of 1
9

This is from https://wiki.samba.org/index.php/Samba_Port_Usage

Identify on which ports and interfaces Samba is listening

You can use netstat to identify which ports Samba and related daemons are listening on and on which IPs:

# netstat -tulpn | egrep "samba|smbd|nmbd|winbind" The following is a snippet of an example output:

tcp        0      0 127.0.0.1:139               0.0.0.0:*              LISTEN      43270/smbd           tcp        0      0 10.0.0.1:139     
0.0.0.0:*                   LISTEN      43270/smbd           tcp        0      0 10.0.0.1:88                 0.0.0.0:*                  

LISTEN 43273/samba tcp 0 0 127.0.0.1:88
0.0.0.0:* LISTEN 43273/samba tcp 0 0 127.0.0.1:445 0.0.0.0:*
LISTEN 43270/smbd tcp 0 0 10.0.0.1:445
0.0.0.0:* LISTEN 43270/smbd

The above example shows, that the services are listening on localhost (127.0.0.1) and the interface with IP 10.0.0.1 - each on the listed ports (139, 88, 445,...).

Port usage when Samba runs as an Active Directory Domain Controller

Service   Port    protocol

DNS   53  tcp/udp

Kerberos  88  tcp/udp

End Point Mapper (DCE/RPC Locator Service)    135 tcp

NetBIOS Name Service  137 udp

NetBIOS Datagram  138 udp

NetBIOS Session   139 tcp

LDAP  389 tcp/udp

SMB over TCP  445 tcp

Kerberos kpasswd  464 tcp/udp

LDAPS (only if "tls enabled = yes")   636 tcp

Dynamic RPC Ports*    1024-5000   tcp

Global Cataloge   3268    tcp

Global Cataloge SSL (only if "tls enabled = yes") 3269    tcp

Multicast DNS 5353    tcp/udp
  • Samba, like Windows, supports dynamic RPC services. The range starts at 1024. If something occupies this port for some reason, it will be a different port (literally walked up from 1024). Remember, that there can be other ports too, which are related to your Samba installation but not provided from Samba itself, like if you run a NTP server for time synchronisation as well.

Port usage when Samba runs as an NT4 Primary Domain Controller

Service   Port    protocol

End Point Mapper (DCE/RPC Locator Service)    135 tcp

NetBIOS Name Service  137 udp

NetBIOS Datagram  138 udp

NetBIOS Session   139 tcp

SMB over TCP  445 tcp

Port usage when Samba runs as a Member Server

Service   Port    protocol

End Point Mapper (DCE/RPC Locator Service)    135 tcp

NetBIOS Name Service  137 udp

NetBIOS Datagram  138 udp

NetBIOS Session   139 tcp

SMB over TCP  445 tcp
๐ŸŒ
AlphaVPS
blog.alphavps.com โ€บ how-to-install-and-configure-samba-on-ubuntu-22-04
How to install and configure Samba on Ubuntu 22.04
May 31, 2023 - It allows Windows clients to access shared resources on Linux/Unix servers, and vice versa. Samba implements the SMB/CIFS (Server Message Block/Common Internet File System) protocol, which is the standard protocol used by Windows for file and ...
๐ŸŒ
GitHub
gist.github.com โ€บ fschiettecatte โ€บ 02d61e3d36c5f8d36bd45586fc5d0dc7
Setting up SAMBA for Linux / MacOS ยท GitHub
Could be anything, I would check that you have connectivity to the machine running the share, check the machine firewall, check that samba is running... ... I'm very newbie to Linux in general and in smb share in particular. After setting my Linux (Ubuntu 25.10) /etc/samba/smb.conf and my Mac's /etc/nsmb.conf as per your examples, I've just modified the permissions for .DS_STORE files with this:
๐ŸŒ
Univention Help
help.univention.com โ€บ linux clients
Samba home share on Ubuntu Client - Linux Clients - Univention Help
June 23, 2020 - I try to configure share on Ubuntu Client, that is joined to UCS Domain. I joined Ubuntu 18.04 with โ€œunivention-domain-joinโ€ to UCS domain, now users can login to this Ubuntu but cannot access to their โ€œhomeโ€ folders on that Ubuntu over samba Share. I would try to adapt smb.conf like ...