Open
Issue #5 · created by von Detten


Run ERROR freeipa-dns.py

Hej Frederik,

in order to benefit from your preliminary studies under https://frederik.lindenaar.nl/2018/12/01/macos-server-replacement-3-move-opendirectory-ldap-and-dns-to-freeipa-on-fedora.html I ran your script 'freeipa-dns.py' getting the following error messages:


INFO - performing zone-xfer for domain xxx.yyy INFO - processing DNS domain xxx.yyy. to xxx.yyy. Traceback (most recent call last): File "/usr/local/bin/freeipa-dns.py", line 588, in args.func(api, args) File "/usr/local/bin/freeipa-dns.py", line 164, in axfr process_zone(api, dnszone, args) File "/usr/local/bin/freeipa-dns.py", line 110, in process_zone updates.update((key, value) for key,value in zone_opts.items() File "/usr/local/bin/freeipa-dns.py", line 113, in else set(value).issubset(ipa_data.get(key)))) TypeError: 'bool' object is not iterable


What am I doing wrong when executing the axfr command as explained by you?

I'd like to have FreeIPA server on Centos 7 (3.10.0-1062.12.1.el7.x86_64). To execute your Python script some further investigations were needed like installing Python 3 (Rel. 3.6), PIP and Python-devel and running PIP afterwards. Nevertheless, the command

freeipa-dns.py axfr -h

went OK.

Do you have any ideas?

Kind regards from Munich, Yorck


1 participant