3 ms·
Looks like an OK guide. I wouldn't put shares inside /var/lib/samba though. And the second semanage context command looks dodgy, I thought the file path argumen
by yrro 2y ago
Looks like an OK guide. I wouldn't put shares inside /var/lib/samba though. And the second semanage context command looks dodgy, I thought the file path arguments were regular expressions not shell glob patterns?
Anyway I think anyone using samba on CentOS Stream or a downstream distro should check out Red Hat's documentation here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_using_network_file_services/assembly_using-samba-as-a-server_configuring-and-using-network-file-services https://access.redhat.com/documentation/en-us/red_hat_enterp...
And keep a link to the official Samba documentation handy: https://www.samba.org/samba/docs/ https://www.samba.org/samba/docs/