[Freeipa-users] On ipadiscovery.py

Alexander Bokovoy abokovoy at redhat.com
Wed Feb 26 05:44:48 UTC 2014


On Wed, 26 Feb 2014, Mauricio Tavares wrote:
>      Trying to understand the class IPADiscovery and why it does not
>like my ubuntu64 box and my network:
>
>1. We start with
>
>root at ubuntu64:~# ipa-client-install
>DNS discovery failed to determine your DNS domain
>Provide the domain name of your IPA server (ex: example.com):
>
>I take most of the hot action is happening in ipadiscovery.py. Am I
>correct to assume that check_domain is looking for lines that contain
>"domain" in them? Mine looks like this:
>
>root at ubuntu64:~# cat /etc/resolv.conf
># Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
>#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
>nameserver 10.0.0.1
>search in.domain.com
>root at ubuntu64:~#
>
>which would (I hope) explain the following entries in the log file:
>
>2014-02-25 23:41:05,995 DEBUG [ipadnssearchldap(in.domain.com)]
>2014-02-25 23:41:05,995 DEBUG [ipadnssearchldap(domain.com)]
>2014-02-25 23:41:05,995 DEBUG [ipadnssearchldap(com)]
>2014-02-25 23:41:05,995 DEBUG [ipadnssearchldap(in.domain.com)]
>2014-02-25 23:41:05,995 DEBUG [ipadnssearchldap(domain.com)]
>2014-02-25 23:41:05,996 DEBUG [ipadnssearchldap(com)]
>2014-02-25 23:41:05,996 DEBUG Domain not found
Run ipa-client-install under strace -f -s 4096 -tt and see the log what
exactly it contacts through the resolver.

-- 
/ Alexander Bokovoy




More information about the Freeipa-users mailing list