The 20-samba.sh script rely on podman which seems no longer there in version 3.x of UniFi OS.
The 20-samba.sh script rely on podman which seems no longer there in version 3.x of UniFi OS.