We are using Ubuntu 20.04 LTS on some servers, including a Samba Active Directory DC and a Samba File Server using winbind authentication.
On Nov 12th, an unattended upgrade (related to USN-5142-1) upgraded our Samba 4.11.6 to 4.13.14 on these servers and that sent us into lots of troubles.
1/ vfs_full_audit options changed ( https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1950803 )
Some audit options were not valid anymore and audit started to log everything .. our /var exploded in no time.
This got fixed by changing vfs_audit options in smb.conf
2/ AD users with Unix Attribute uidnumber < 1000 were not able to access Samba file shares anymore.
Huge issue as most of our users were out of work for almost a day.. probably related to the "min domain uid" global parameter wich is set to 1000 by default.
In the rush we fixed the issue by changing uidnumber of all of our users to values above 1000.
Weirdly enough, AD users were still able to SSH on the server using winbind authentication and unix uid < 1000.
3/ Issues with CIFS mounts and Printers SMB configurations
before the upgrade, CIFS mounts and printers used their username to authenticate on the Samba File Server.
Since the upgrade, it seems mandatory to indicate the domain name (add option domain=MYDOMAIN for mount.cifs and set username to MYDOMAIN\user for printers)
This domain prefix used to be implicit thanks to the "winbind use default domain = yes" option.
If anybody knows how to fix this we'd be really interested !
4/ AD built-in "Administrator" account can no longer access the Samba file server. This account is mapped to "root" on the File Server.
The error message is related to some invalid data token, just like users that were denied in 2/.
This account does not have Unix Attributes but it always worked that way. i'm not sure wether I should add it. I don't like changing built-in accounts.
At this time we're still investigating and your help would be very welcome !
All in all I have to say this was a pretty traumatic experience from unattended upgrades, we're now doing our best to get back on track with our setup.
Thanks for reading.
References
https://ubuntu.com/security/notices/USN-5142-1