https://bugs.openldap.org/show_bug.cgi?id=9481
Issue ID: 9481 Summary: servers/slapd/proxyp.c does not respect --disable-ipv6 and fails to compile Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: grapvar@gmail.com Target Milestone: ---
current git master, commit: a44706f64 2021-02-26 | ITS#7508 - fix website build ...
https://bugs.openldap.org/show_bug.cgi?id=9481
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.3
https://bugs.openldap.org/show_bug.cgi?id=9481
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |quanah@openldap.org Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
https://bugs.openldap.org/show_bug.cgi?id=9481
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |CONFIRMED Assignee|quanah@openldap.org |henson@acm.org
https://bugs.openldap.org/show_bug.cgi?id=9481
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Hi Paul,
proxyp fails to build if IPv6 is disabled. There appear to be multiple IPv6 related blocks that are not protected with #ifdef LDAP_PF_INET6 and other issues.
https://bugs.openldap.org/show_bug.cgi?id=9481
--- Comment #2 from henson@acm.org henson@acm.org --- Oops 8-/. I guess your commit build testing doesn’t cover that case :). I will take a look and get it fixed asap.
https://bugs.openldap.org/show_bug.cgi?id=9481
--- Comment #3 from henson@acm.org henson@acm.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/262
After adding this #ifdef, it compiles ok? You mentioned multiple issues? I configured with --disable-ipv6 and this is the only failure I ran into. Do I need to do some further testing or other operations to hit the other issues? The other references to IPv6 in this file are part of the proxy protocol and need to be there regardless of whether openldap itself supports IPv6.
https://bugs.openldap.org/show_bug.cgi?id=9481
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • b91491a8 by Paul B. Henson at 2021-03-08T18:10:41+00:00 ITS#9481 - fix proxyp when IPv6 disabled
• 891fc1e1 by Quanah Gibson-Mount at 2021-03-08T18:10:41+00:00 ITS#9481 - Fix cases when IPv6 support is disabled
https://bugs.openldap.org/show_bug.cgi?id=9481
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED