If you want it to access any windows shares, or access any of its files from a windows machine then you'll need to install samba on it. If you are just talking unix to unix then you can use NFS but ...
A big change for Samba in Ubuntu 22.04 and how to get around it Your email has been sent With the release of Ubuntu 22.04, several changes occurred under the hood to make this latest LTS release one ...