[Bug 51129] New: Function name conflict (ldap_connect) with OpenLDAP 2.5

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 11 17:59:43 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51129

            Bug ID: 51129
           Summary: Function name conflict (ldap_connect) with OpenLDAP
                    2.5
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wldap32
          Assignee: wine-bugs at winehq.org
          Reporter: sergio.durigan at canonical.com
      Distribution: ---

Hello,

Wine installs the "/usr/include/wine/wine/windows/winldap.h" file, which
exports the ldap_connect function:

ULONG CDECL ldap_connect(LDAP*,struct l_timeval*);

With the recent OpenLDAP 2.5 release, we now have an "ldap_connection" function
being exported by it as well (with a different prototype):

https://git.openldap.org/openldap/openldap/-/blame/OPENLDAP_REL_ENG_2_5_4/include/ldap.h#L1553

This will need to be fixed in order to prevent linking problems with OpenLDAP.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list