I have read so many forum posts about how to run a NAS on Proxmox and watched so many videos that I really hate to post another. Unfortunately, I have not been able to find a guide or other material to help in what I am trying to do.
1. Create a LXC Container (Privileged or Unprivileged)
2. Create a bind-mount from the host into the container
3. Join the container to the existing Active Directory
4. Create samba share with Active Directory Authentication
5. Install some UI to help manage (Cockpit, etc.)
Some guides suggest running a NAS inside a VM. I don't want to do this for several reasons. First, that would require either preconfiguring dedicated space to the VM or hardware passthrough. I want to share the disk space on the host and not have to carve it out for the VM. I also need to share the host resources with multiple LXCs and don't want to get networking involved. Bind-Mount LXCs is both highly performant and easy to share across containers.
I have found some guides for LXC Fileservers, however none discuss Active Directory Integration at all. This is a hard requirement. I think that this is the hardest thing to wrap my head around. I know that it is complicated to integrate the security from the host bind-mount to the LXC Container and finally the share.
So my main question really is, how do I to get the security setup right so that I use a bind-mount to create a share secured by the domain.
Has anyone done exactly this?
Does the proxmox server need to be domain joined first? For UID/GIU mapping?
Does th LXC container need to be Privileged?
1. Create a LXC Container (Privileged or Unprivileged)
2. Create a bind-mount from the host into the container
3. Join the container to the existing Active Directory
4. Create samba share with Active Directory Authentication
5. Install some UI to help manage (Cockpit, etc.)
Some guides suggest running a NAS inside a VM. I don't want to do this for several reasons. First, that would require either preconfiguring dedicated space to the VM or hardware passthrough. I want to share the disk space on the host and not have to carve it out for the VM. I also need to share the host resources with multiple LXCs and don't want to get networking involved. Bind-Mount LXCs is both highly performant and easy to share across containers.
I have found some guides for LXC Fileservers, however none discuss Active Directory Integration at all. This is a hard requirement. I think that this is the hardest thing to wrap my head around. I know that it is complicated to integrate the security from the host bind-mount to the LXC Container and finally the share.
So my main question really is, how do I to get the security setup right so that I use a bind-mount to create a share secured by the domain.
Has anyone done exactly this?
Does the proxmox server need to be domain joined first? For UID/GIU mapping?
Does th LXC container need to be Privileged?