Bug 1989982 - CLI needs option to set nsslapd-state
Summary: CLI needs option to set nsslapd-state
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: 389-ds-base
Version: 11.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: DS11.3
: dirsrv-11.5
Assignee: mreynolds
QA Contact: RHDS QE
Marc Muehlfeld
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2040794
TreeView+ depends on / blocked
 
Reported: 2021-08-04 13:54 UTC by mreynolds
Modified: 2022-09-01 13:37 UTC (History)
3 users (show)

Fixed In Version: redhat-ds-11-8050020210917175916.d3df4063
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2040794 (view as bug list)
Environment:
Last Closed: 2022-08-23 17:42:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-1527 0 None None None 2021-08-04 14:00:40 UTC
Red Hat Issue Tracker IDMDS-1531 0 None None None 2021-08-04 14:39:12 UTC

Description mreynolds 2021-08-04 13:54:14 UTC
Description of problem:


With the old console on 389-ds 1.3.x I can manage the nsslapd-state for all suffixes.  In the new cockpit console I can't find an option to manage this attribute. It's always backend.  dsconf doesn't manage this attribute too.

At least, a new option in dsconf could be provided. For instance:
 
# dsconf instance backend suffix set --state

Allowed values:

backend: The back-end database processes all operations.
disabled: The database is not available for processing operations. The server returns a No
such search object error in response to requests made by client applications.
referral: Directory Server returns a referral URL for requests to this suffix.
referral on update: The database is used for all operations. Only for update requests is a
referral sent.


Now I have to force an ldapmodify to set the value:

dn: cn=<suffix name>,cn=mapping tree,cn=config
changeype: modify
replace: nsslapd-state
nsslapd-state: referral on update

Comment 1 mreynolds 2021-08-04 13:55:40 UTC
Upstream ticket:

https://github.com/389ds/389-ds-base/issues/4796

Comment 3 Petr Čech 2022-05-25 12:16:03 UTC
As the RHEL 8.5 reached EOL, it makes sense to move this BZ to dirsrv-11.5, which means RHEL 8.6.


Note You need to log in before you can comment on or make changes to this bug.