freeipa / freeipa-container

FreeIPA server in containers — images at https://quay.io/repository/freeipa/freeipa-server?tab=tags
https://quay.io/repository/freeipa/freeipa-server?tab=tags
Apache License 2.0
614 stars 259 forks source link

Unable to discover domain, not provided on command line #598

Closed danie-dejager closed 8 months ago

danie-dejager commented 8 months ago

I am creating a new container with the following command:

docker run --privileged --sysctl net.ipv6.conf.all.disable_ipv6=0 -h ipa1.example.internal -e PASSWORD="p@ssw0rd" -ti adelton/freeipa-client

Why is it failing with the following error?

Unable to discover domain, not provided on command line

I added ipa1.example.internal with its IP to the host's /etc/hosts file.

adelton commented 8 months ago

Truth be told, we haven't tested the client branches and behaviour for ages.

Are you sure the default DNS server properly helps the client find the FreeIPA / IdM server and its domain?

Google finds for example https://access.redhat.com/solutions/4094941 which suggests that you should be able to find more details about the discovery in the container in /var/log/ipaclient-install.log.

adelton commented 8 months ago

We seem to have lost traction here.