[Freeipa-devel] [PATCH] 049 Make nsslib IPv6 aware

Jan Zelený jzeleny at redhat.com
Thu Feb 3 13:23:11 UTC 2011


Jakub Hrozek <jhrozek at redhat.com> wrote:
> Hi,
> 
> attached is a patch to nsslib.py that changes its semantics so
> it is able to work with different address families. It is the last piece
> of IPv6 support.
> 
> Aside from the hunks in the patch, I still need to set Requires: in the
> patch (don't know the exact version yet). Also, the attached patch always
> tries IPv4 first and only falls back to IPv6. I think there should be a
> config option that tells IPA to prefer one of the address families or use
> it exclusively for performance reasons.
> 
> Please note that the patch requires the latest changes to python-nss
> in order to work correctly. Since John is still working on python-nss
> packages, this patch should be treated as a preview and not pushed even
> if it is deemed OK. At this stage, I'd like to get at least the general
> approach and code reviewed so I can fix it tomorrow.
> 
> Thank you,
>     Jakub

The patch looks ok, all my questions answered off-list. Also tested with IPv4 
(latest python-nss installed) and IPv6, both work fine.

ACK

Jan




More information about the Freeipa-devel mailing list