Felipe's Blog

Your go-to source for Linux/Unix-like – tech – engineering.

Archive for the ‘Mac’ tag

Server Icon, on the Mac

without comments

In a previous post, I talked about the configuration of Samba, using a cool icon for the Mac. Just to make it very simple, here it is, all the configuration we need (For Arch or Debian, in Debian we just use apt get or in CentOS dnf -y, or in Arch – pacman, as it is explained here:

min protocol = SMB2
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:metadata = stream
fruit:model = Macintosh
fruit:posix_rename = yes 
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes 
fruit:delete_empty_adfiles = yes

to really make it work first, we need to install the package avahi, put it to run as a service, and then start the demon. After that we restart Samba.

sudo pacman -S install avahi
systemctl enable --now avahi-daemon.service
systemctl start avahi-daemon

Let’s restart Samba:

sudo systemctl restart smb
sudo systemctl restart nmb

Written by Felipe

April 25th, 2023 at 10:40 pm

Posted in General,Linux,Mac

Tagged with , , ,