on a rocky 10 vm.
a reboot is required due to not having legacy iptables. we also need to add daemon.json file for cgroupsv2.
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce
systemctl enable docker
echo '{ "userns-remap": "default" }' > /etc/docker/daemon.json
yum install -y yum-utils iptables-services iptables-utils
rebootthis will create a directory in /opt/freeipa for all stateful files.
also it is set to no run dns or ntp. change if needed.
change the password if you like. :)
docker run -d -h ipa.rfed.io -v /opt/freeipa:/data -e PASSWORD=Pa22word -p "80:80" -p "443:443" -p "389:389" -p "636:636" freeipa/freeipa-server:rocky-9 ipa-server-install -U -r rfed.io --no-ntp --no-host-dnscheck the logs and wait until it is up.
install and run ldapsearch
yum install -y openldap-clients
ldapsearch -x -H ldap://ipa.rfed.io -b "cn=users,cn=accounts,dc=rfed,dc=io"did it work?
add them from the gui. :D
example:
URIs - ldap://ipa.rfed.io
Base DN - CN=accounts,DC=rfed,DC=io
Bind User - UID=clemenko,CN=users,CN=accounts,DC=rfed,DC=io
Bind Password -
User Login Attribute - uid
User Object Class - posixAccount
Check Peer False
CA Certificate -Edit
group / CN=groups