[Pkg-openldap-devel] libldap_r

Russ Allbery rra at debian.org
Fri Dec 21 06:43:48 UTC 2007


I'd really like to sort out the libldap_r thing, since what we're doing
right now is one of those sorts of things that I'm sure upstream would say
that we shouldn't do and we're just creating problems by doing.

So, could you check this for accuracy so that I can correctly represent
the problem that we're trying to solve to upstream and get their take on
how we *should* solve it?

    Currently, OpenLDAP installs both a libldap and a libldap_r library,
    the latter used by slapd.  The symbols provided by the two libraries
    overlap.  This creates a problem when both libraries are loaded into
    the same process space, such as on a system that uses an LDAP NSS
    module and hence loads libldap into slapd's process space when slapd
    makes a getpwnam() call (to implement the -u flag, for example).

    We've avoided this in the past by not installing libldap and instead
    making it a link to libldap_r, so that everyone gets the libldap_r
    version.  However, this is just the sort of fiddling with how OpenLDAP
    normally works that we'd like to stop doing.

    What's the best solution to the underlying symbol conflict concern?
    Or, alternately, why is what we're worried about not actually a
    problem?

When we get a summary that accurately reflects our issue, I'll raise it on
openldap-software and see what upstream says.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-openldap-devel mailing list