Issue 3458 - ppolicy overlay doesn't build (missing declarations)
Summary: ppolicy overlay doesn't build (missing declarations)
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.3
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 09:28 UTC by ando@openldap.org
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ando@openldap.org 2005-01-03 09:28:06 UTC
Full_Name: Pierangelo Masarati
Version: 2.3
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (131.175.154.56)


ppolicy overlay doesn't build because of missing declarations, which are hidden
in include/ldap.h behind #ifdef LDAP_DEVEL; don't know what's best to fix it:
#define LDAP_DEVEL (or better #define LDAP_CONTROL_PASSWORDPOLICYREQUEST, as
conditionally defined in include/ldap.h when LDAP_DEVEL is #define'd) or inhibit
the building of the overlay #ifndef'd LDAP_DEVEL or so.

p.

Comment 1 ando@openldap.org 2005-01-04 01:46:10 UTC
moved from Incoming to Development
Comment 2 ando@openldap.org 2005-01-09 12:36:16 UTC
changed notes
Comment 3 Howard Chu 2005-01-10 23:39:08 UTC
ando@sys-net.it wrote:

>Full_Name: Pierangelo Masarati
>Version: 2.3
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (131.175.154.56)
>
>
>ppolicy overlay doesn't build because of missing declarations, which are hidden
>in include/ldap.h behind #ifdef LDAP_DEVEL; don't know what's best to fix it:
>#define LDAP_DEVEL (or better #define LDAP_CONTROL_PASSWORDPOLICYREQUEST, as
>conditionally defined in include/ldap.h when LDAP_DEVEL is #define'd) or inhibit
>the building of the overlay #ifndef'd LDAP_DEVEL or so.
>  
>
I'm still undecided here. I would like to see this code get released, 
but I guess this is still too soon. The code is now stale and needs to 
be brought up to date with the current draft anyway. So perhaps we 
should remove the ppolicy overlay from the 2.3 build for now.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

Comment 4 ando@openldap.org 2005-01-10 23:53:08 UTC
hyc@symas.com wrote:

>ando@sys-net.it wrote:
>
>  
>
>>Full_Name: Pierangelo Masarati
>>Version: 2.3
>>OS: Linux
>>URL: ftp://ftp.openldap.org/incoming/
>>Submission from: (NULL) (131.175.154.56)
>>
>>
>>ppolicy overlay doesn't build because of missing declarations, which are hidden
>>in include/ldap.h behind #ifdef LDAP_DEVEL; don't know what's best to fix it:
>>#define LDAP_DEVEL (or better #define LDAP_CONTROL_PASSWORDPOLICYREQUEST, as
>>conditionally defined in include/ldap.h when LDAP_DEVEL is #define'd) or inhibit
>>the building of the overlay #ifndef'd LDAP_DEVEL or so.
>> 
>>
>>    
>>
>I'm still undecided here. I would like to see this code get released, 
>but I guess this is still too soon. The code is now stale and needs to 
>be brought up to date with the current draft anyway. So perhaps we 
>should remove the ppolicy overlay from the 2.3 build for now.
>
I would consider the ppolicy a nice plus for 2.3, but it's up to you. 
 In any case, I see that there's ppolicy code in libldap, in the client 
tools and in the overlay, so there's plenty of places for potential 
build problems.  What about keeping it as is but wrapped around a sort 
of LDAP_PRERELEASE macro?  Something that by default is not enabled, and 
one may use at own risk, but in a release, not in HEAD.

p.




    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497

Comment 5 ando@openldap.org 2005-01-21 05:08:06 UTC
changed notes
changed state Open to Release
Comment 6 Howard Chu 2005-01-21 08:18:52 UTC
Pierangelo Masarati wrote:

> hyc@symas.com wrote:
>
>> ando@sys-net.it wrote:
>>
>>  
>>
>>> Full_Name: Pierangelo Masarati
>>> Version: 2.3
>>> OS: Linux
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (131.175.154.56)
>>>
>>>
>>> ppolicy overlay doesn't build because of missing declarations, which 
>>> are hidden
>>> in include/ldap.h behind #ifdef LDAP_DEVEL; don't know what's best 
>>> to fix it:
>>> #define LDAP_DEVEL (or better #define 
>>> LDAP_CONTROL_PASSWORDPOLICYREQUEST, as
>>> conditionally defined in include/ldap.h when LDAP_DEVEL is 
>>> #define'd) or inhibit
>>> the building of the overlay #ifndef'd LDAP_DEVEL or so.
>>>
>>>
>>>   
>>
>> I'm still undecided here. I would like to see this code get released, 
>> but I guess this is still too soon. The code is now stale and needs 
>> to be brought up to date with the current draft anyway. So perhaps we 
>> should remove the ppolicy overlay from the 2.3 build for now.
>>
> I would consider the ppolicy a nice plus for 2.3, but it's up to you. 
> In any case, I see that there's ppolicy code in libldap, in the client 
> tools and in the overlay, so there's plenty of places for potential 
> build problems.  What about keeping it as is but wrapped around a sort 
> of LDAP_PRERELEASE macro?  Something that by default is not enabled, 
> and one may use at own risk, but in a release, not in HEAD.

That would be fine. I.e., putting it into 2.3 but leaving it disabled by 
default.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

Comment 7 ando@openldap.org 2005-01-21 10:18:23 UTC
> That would be fine. I.e., putting it into 2.3 but leaving it disabled by
> default.

OK, I'll remove the #ifdef LDAP_DEVEL around
LDAP_CONTROL_PASSWORDPOLICYREQUEST and
LDAP_CONTROL_PASSWORDPOLICYRESPONSE in include/ldap.h in HEAD; by default
the overlay is already disabled in configure.in.  This should suffice
(another recompilation from scratch, sigh ;).

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497

Comment 8 Howard Chu 2005-01-22 07:28:19 UTC
ando@sys-net.it wrote:

>>That would be fine. I.e., putting it into 2.3 but leaving it disabled by
>>default.
>>    
>>
>
>OK, I'll remove the #ifdef LDAP_DEVEL around
>LDAP_CONTROL_PASSWORDPOLICYREQUEST and
>LDAP_CONTROL_PASSWORDPOLICYRESPONSE in include/ldap.h in HEAD; by default
>the overlay is already disabled in configure.in.  This should suffice
>(another recompilation from scratch, sigh ;).
>
Yeah. I would love to see things split out so that changing one or two 
features doesn't force rebuilds of the entire tree. Too bad there's not 
an easy way to compartmentalize configuration options so that we can 
have finer grained dependencies (instead of making one minor tweak to 
portable.h that causes everything to rebuild...).

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

Comment 9 Kurt Zeilenga 2005-03-15 01:24:06 UTC
changed notes
changed state Release to Closed
Comment 10 Howard Chu 2009-02-17 06:54:30 UTC
moved from Development to Archive.Development
Comment 11 OpenLDAP project 2014-08-01 21:05:20 UTC
fixed in HEAD/re23