Photo by Masaaki Komori on Unsplash

Member-only story

How to set up Samba to share a Ceph filesystem with Active Directory access control

Balderscape

--

I have recently deployed a Proxmox cluster for our virtualisation and storage using the builtin Ceph cluster to provide the storage. Although Proxmox makes the setup of the file cluster straight forward, if you want to then share the storage with Windows clients you are on your own. This is doubly so if your file storage needs to provide Domain access control.

So this is a guide documenting how I configured a CentOS 8 virtual machine to act as a Windows CIFS file share. I previously documented how to setup and configure a single node Ceph cluster from scratch so if you need that information look here.

First create a virtual machine and install CentOS 8, I did this in Proxmox using two cores and 4GB memory with 8GB of storage and turned the firewall option off. This speed up the install time as the install can be a little memory intensive. Once the OS is installed you can drop the memory down to 2GB.

For the CentOS install, I selected the minimal install option as I do not want or need a GUI on this machine, and set up the networking. The networking needs to have the AD controller set as the first DNS server and the search domain set to the AD domain otherwise there will be issues joining the domain later. I also just set a root password and did not…

--

--

No responses yet