February 2020
Intermediate to advanced
666 pages
15h 45m
English
Okay, you'll be ecstatic to know that the Ubuntu folk finally fixed that long-standing problem with the Samba profile in Ubuntu 16.04. But you won't be so ecstatic to know that they replaced that problem with two others.
I installed Samba and the additional AppArmor profiles on my Ubuntu 18.04 VM, and then set the two Samba profiles into enforce mode, the same way that I've already shown you for Ubuntu 16.04. When I tried to restart Samba, the restart failed. So, I looked in the /var/log/syslog file and found the following two messages:
Oct 15 19:22:05 ubuntu-ufw kernel: [ 2297.955842] audit: type=1400 audit(1571181725.419:74): apparmor="DENIED" operation="capable" profile="/usr/sbin/smbd" ...