Samba 4.21 Launches with Enhanced Security Features

Samba 4.21, a free software re-implementation of the SMB protocol, rolls out with enhancements in LDAP TLS, user validation, and more.

Five months after its previous 4.20 release, Samba, the renowned open-source software suite that facilitates file sharing and printing services across various operating systems, including Windows and Unix, has officially released its latest version, Samba 4.21.

The release’s highlight is the hardened security settings for “valid users,” “invalid users,” “read list,” and “write list.” In the past, unresolved user or group names would be skipped without any notification, potentially leading to insecure access permissions.

With this update, any issues in name resolution due to communication errors with a domain controller will now trigger an error log, and the connection attempt will be denied, thereby preventing unintended access.

Moreover, Samba 4.21 introduces support for LDAP TLS/SASL channel binding, a critical security feature that aligns with modern cybersecurity practices. This enhancement enables secure SASL binds over TLS connections, significantly fortifying the authentication process.

The release also debuts new features and improvements, such as automatic keytab updates following machine password changes, enhancing the seamless operation of network services that rely on Samba for authentication.

Moreover, a new DNS hostname configuration option has been introduced to improve the integration of Samba within Active Directory environments, aiding in smoother domain joins and service registrations.

For those managing advanced setups, the new version supports Group Managed Service Accounts (gMSA), providing a more secure and manageable way of handling service accounts across multiple servers, a boon for large-scale deployments.

Furthermore, Samba 4.21 lays the groundwork for future enhancements, including planned deprecations and changes. For example, the new vfs-to-cephfs bridge module is set to replace the older CephFS implementations, promising better performance and more robust security options.

Those interested in learning more about all the changes that Samba 4.21 brings can visit theย release notes.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%