Page MenuHomeSolus

Update Samba to 4.7.8 and change to more secure default settings.
ClosedPublic

Authored by ermo on Jul 4 2018, 12:24 PM.
Tags
None
Referenced Files
F11008356: D3232.diff
Wed, Aug 2, 2:41 AM
F11003626: D3232.diff
Mon, Jul 31, 4:53 PM
F10975623: D3232.id8033.diff
Sat, Jul 22, 5:52 AM
F10896928: D3232.id8059.diff
Jul 2 2023, 3:14 AM
F10874345: D3232.id7996.diff
Jun 20 2023, 12:12 AM
F10874334: D3232.diff
Jun 20 2023, 12:09 AM
F10870080: D3232.diff
Jun 18 2023, 8:23 AM
F10867091: D3232.id.diff
Jun 17 2023, 6:40 PM
Subscribers
None

Details

Summary

Solus default configuration changes:

  • Disable SMB1 for security reasons (can be enabled by the user)
  • Replace SMB1 workgroup browsing with Avahi autodiscovery
  • Set up logging differently (useful for debugging auth/proto issues)
  • Move /etc/samba/smb.conf.README to a symlink (for easier updates)

Updated from 4.6.14

Depends on D3229, D3231

Closes T6595

Changes from Samba 4.6.x series:

  • 'smbclient' changes (allows SMB3)
  • Whole DB read locks: Improved LDAP and replication consistency
  • Samba AD with MIT Kerberos support
  • Dynamic RPC port range
  • Authentication and Authorization audit support
  • Multi-process LDAP Server
  • Improved Read-Only Domain Controller (RODC) Support
  • Additional password hashes stored in supplementalCredentials
  • Improvements to DNS during Active Directory domain join
  • Significant AD performance and replication improvements
  • Query record for open file or directory
  • Removal of lpcfg_register_defaults_hook()
  • Change of loadable module interface
  • SHA256 LDAPS Certificates
  • CTDB changes
  • Using x86_64 Accelerated AES Crypto Instructions
  • Parameter changes
  • smb.conf changes

Release Notes:

Test Plan

Start local samba instance and browse for shares:

sudo systemctl stop nmb smb && systemctl status nmb smb && systemctl start smb && systemctl status smb && smbclient -N -L localhost

Test usershare functionality by sharing a folder with Nautilus (nautilus-usershare)

Test network browsing via gvfs and Nautilus

Connect to usershare folder from Budgie / GNOME (Nautilus), Windows 10, macOS Sierra and High Sierra.

Diff Detail

Repository
R2842 samba
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ermo requested review of this revision.Jul 4 2018, 12:24 PM

Configure with --disable-rpath-install per T6626

This revision is now accepted and ready to land.Jul 10 2018, 4:16 PM
This revision was automatically updated to reflect the committed changes.