LXC and FreeIPA

thinkdez

New Member
Aug 16, 2023
5
1
3
I am currently migrating some VM's to LXC's and I use FreeIPA for authentication etc. I was able to install the FreeIPA client on the LXC using the --no-ntp flag but when I try to login with a user account I get an error:
Code:
sshd[3742]: fatal: initgroups: testuser: Invalid argument

I believe this is due to the LXC being unprivleged and I tried to map the users but the documentation I am reading is confusing me.

Should I be joining my Proxmox VE host to FreeIPA first? Then map the UID and GID's to the LXC Guest? OR can I just do a direct connection to the LXC?

Does this bind the LXC to a specific host or if I copy the config to all hosts in the cluster will I be able to migrate my LXC's across hosts?

I came from a VMWare background so I have this mentality to not modify the Host system as little as possible but this doesn't seem to be the case with Proxmox.

Thanks
 
Found a solution to this thanks to @Judge

 
Last edited:
  • Like
Reactions: waltar