Python netifaces has been unmaintained and its main repository has been archived since June, 2021. Python ifaddr is an alternative to netifaces, is currently maintained, and provides an API which requires little change for FreeIPA current usage. This patch modifies FreeIPA to rely on ifaddr instead of neitfaces, due to its current maintainance status. Fixes: https://pagure.io/freeipa/issue/9555 Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.
A brief overview:
config.py - identify the IPA server domain and realm. It uses python-dns to
try to detect this information first and will fall back to
/etc/ipa/default.conf if that fails.
ipautil.py - helper functions
entity.py - entity is the main data type. User and Group extend this class
(but don't add anything currently).
ipavalidate.py - basic data validation routines