Unable to Mount Shares after Windows Update on Ubuntu 22 File Server Serving Folders to macOS and Windows 10 Hosts
File servers play a vital role in modern networks, enabling centralized storage and access to crucial data for multiple clients, including macOS and Windows hosts. In this article, we will tackle and provide a detailed context on the issue faced by Windows 10 users who cannot mount shares from a Ubuntu 22 file server after a Windows update on the 9th of March, 2025.
192.168 Subnet Configuration
To understand the issue, let us first define the network configuration. In our scenario, the Ubuntu 22 file server, macOS, and Windows 10 hosts are connected within a 192.168 subnet. This configuration allows direct communication and data sharing among the devices.
Ubuntu 22 File Server Setup
The Ubuntu 22 file server is configured with the Samba service to serve folders for sharing across the network. Proper authentication and access control settings are in place to ensure secure access to the shared resources.
Windows Update and Share Mounting Issue
On March 9, 2025, Microsoft released a scheduled Windows update addressing multiple security vulnerabilities and system improvements. Following this update, Windows 10 users started experiencing issues when attempting to mount shares from the Ubuntu 22 file server. Initially, it may have shown incorrect credentials or network timeout errors.
In-Depth Analysis of the Issue
Upon further investigation, it was discovered that the issue is related to the latest Windows update changing its SMB protocol version handling and authentication mechanisms. Specifically, the update disabled SMB1 as the default version due to its known security vulnerabilities.
// Example of an updated SMB configuration in Windows 10
[Global]
SMB1 = disabled
SMB2 = enabled
Implications for Ubuntu 22 File Server and Clients
This change in SMB protocol version handling impacts the Ubuntu 22 file server, as it potentially restricts compatibility with clients utilizing the older SMB1 protocol. For instance, if the Windows 10 host has been set to use SMB2, and the Ubuntu file server only supports SMB1, the Windows host will not be able to mount the shares anymore.
Resolving the Mounting Sharing Issue
To resolve this issue, the Ubuntu 22 file server must be updated to support SMB2 or a higher version. This ensures compatibility with the updated Windows 10 clients.
Step-by-Step Guide to Update Ubuntu Samba Service
Follow these steps to update the Samba service on Ubuntu 22 file server:
- Update the Samba package list:
sudo apt update - Upgrade the Samba version:
sudo apt upgrade samba - Verify the Samba version:
samba -V - Restart the Samba service:
sudo systemctl restart smbd
Modified SMB Configuration on Ubuntu 22 File Server
After updating the Samba service on the Ubuntu file server, modify the SMB configuration to enable SMB2:
// /etc/samba/smb.conf example
[global]
server max protocol = SMB2
Validation and Testing
After applying the necessary updates and changes, validate and test the file server and client connectivity.
In this article, we presented a detailed context regarding the issue where Windows 10 hosts cannot mount shares from a Ubuntu 22 file server after a Windows update on March 9, 2025. The problem arose from the update disabling the default SMB1 protocol and the Ubuntu file server's possible incompatibility. We provided a solution that focused on updating the Ubuntu Samba service to support SMB2 or higher.
References
- Samba: https://www.samba.org/
- Microsoft SMB protocol documentation: https://docs.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-protocol-version
- Windows 10 SMB configuration overview: