Issue 8616 - olcSpNopresent and olcSpReloadHint can't be modified dynamically
Summary: olcSpNopresent and olcSpReloadHint can't be modified dynamically
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.44
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 17:58 UTC by elecharny@openldap.org
Modified: 2018-12-19 17:20 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 elecharny@openldap.org 2017-03-14 17:58:34 UTC
Full_Name: Emmanuel Lecharny
Version: 2.4.44
OS: CentOS
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (86.246.56.212)


Adding either the olcSpNoPresent/olcSpReloadHint into a syncprov overlay is
possible using slapd.d. It the values are set to TRUE, you can remove them. If
you set them to FALSE, trying to remove the value get you an error 80.

Second thing : set the value to TRUE (works), then change it to FALSE (works).
Now, you are stuck : you can't revert it to TRUE or remove them. 

Third thing : set the value to FALSE (works), then you can't change it to TRUE
or delete the attribute.

There is no other way that modifyin the ldif file to get it back on its feet.
Comment 1 Quanah Gibson-Mount 2017-03-16 18:39:07 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2018-05-01 19:35:01 UTC
--On Tuesday, March 14, 2017 6:58 PM +0000 elecharny@symas.com wrote:

Also fails for olcSpSessionLog (if it wasn't defined when the cn=config db 
was loaded)

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 3 Howard Chu 2018-05-24 16:49:26 UTC
quanah@symas.com wrote:
> --On Tuesday, March 14, 2017 6:58 PM +0000 elecharny@symas.com wrote:
> 
> Also fails for olcSpSessionLog (if it wasn't defined when the cn=config db
> was loaded)

Couldn't reproduce this, works for me.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 4 Howard Chu 2018-05-24 16:54:27 UTC
elecharny@symas.com wrote:
> Full_Name: Emmanuel Lecharny
> Version: 2.4.44
> OS: CentOS
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (86.246.56.212)
> 
> 
> Adding either the olcSpNoPresent/olcSpReloadHint into a syncprov overlay is
> possible using slapd.d. It the values are set to TRUE, you can remove them. If
> you set them to FALSE, trying to remove the value get you an error 80.
> 
> Second thing : set the value to TRUE (works), then change it to FALSE (works).
> Now, you are stuck : you can't revert it to TRUE or remove them.
> 
> Third thing : set the value to FALSE (works), then you can't change it to TRUE
> or delete the attribute.

All of these are the same issue. Fixed in master.
> 
> There is no other way that modifyin the ldif file to get it back on its feet.
> 
> 


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 5 Howard Chu 2018-05-24 16:55:12 UTC
changed notes
changed state Open to Test
Comment 6 Quanah Gibson-Mount 2018-05-24 17:04:24 UTC
--On Thursday, May 24, 2018 6:49 PM +0100 Howard Chu <hyc@symas.com> wrote:

> quanah@symas.com wrote:
>> --On Tuesday, March 14, 2017 6:58 PM +0000 elecharny@symas.com wrote:
>>
>> Also fails for olcSpSessionLog (if it wasn't defined when the cn=config
>> db was loaded)
>
> Couldn't reproduce this, works for me.

I realized the issue I'd hit was with replicating cn=config when modifying 
this attribute.  Likely the missing matching rules issue that's tracked 
under another ITS I need to address.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 7 Quanah Gibson-Mount 2018-07-03 23:37:05 UTC
changed notes
changed state Test to Release
Comment 8 OpenLDAP project 2018-12-19 17:20:19 UTC
fixed in master
fixed in RE24 (2.4.47)
Comment 9 Quanah Gibson-Mount 2018-12-19 17:20:19 UTC
changed notes
changed state Release to Closed