[Date Prev][Date Next]
Re: (ITS#7283) Usage of private headers make building out-of-tree extensions painful
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7283) Usage of private headers make building out-of-tree extensions painful
- From: firstname.lastname@example.org
- Date: Wed, 30 May 2012 12:34:13 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Guillaume Rousse
> Version: any
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (126.96.36.199)
> In order to build out of tree extensions, such as ppolicy external password
> checker (http://ltb-project.org/wiki/documentation/openldap-ppolicy-check-password),
> you need additional slapd headers, portable.h and slapd.h (and a bunch of
> additional dependant ones), which are currently not installed, and thus
> considered as private.
> A request to ship those headers was refused by fedora package maintainer,
> precisely for this reason:
They gave the right answer. The slap.h header is private and subject to change
> The situation ought to be clarified, and some kind of solution found, as
> maintaining a custom slapd build just to be able to benefit from this
> extensability is largely overkill.
Probably this should be discussed on the openldap-devel mailing list. There's
no straightforward solution to this request.
In the case of the LTB password checker module, there's barely any need for
slap.h; the module could easily be tweaked to avoid all references to it.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/