Bug 2170494
| Summary: | Obsolete nsslapd-ldapimaprootdn attribute | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Viktor Ashirov <vashirov> |
| Component: | 389-ds-base | Assignee: | Simon Pichugin <spichugi> |
| Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | high | Docs Contact: | Evgenia Martynyuk <emartyny> |
| Priority: | high | ||
| Version: | 9.2 | CC: | bsmejkal, emartyny, idm-ds-dev-bugs, mreynolds, spichugi |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | 389-ds-base-2.3.4-1.el9 | Doc Type: | Deprecated Functionality |
| Doc Text: |
.The `nsslapd-ldapimaprootdn` parameter is deprecated
In Directory Server, the `nsslapd-ldapimaprootdn` configuration parameter is used to map a system root entry to a root DN entry. Usually, the `nsslapd-ldapimaprootdn` parameter has the same value as the `nsslapd-rootdn` parameter. In addition, changing one attribute but not changing the other leads to a non-functional autobind configuration that breaks `dsconf` utility and access to the web console.
With this update, Directory Server uses only the `nsslapd-rootdn` parameter to map a system root entry to a root DN entry. As a result, the `nsslapd-ldapimaprootdn` parameter is deprecated and the root DN change does not break `dsconf` utility and access to the web console.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:25:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Viktor Ashirov
2023-02-16 14:22:14 UTC
Build tested: 389-ds-base-2.3.4-2.el9.x86_64 [1] dsconf changes only nsslapd-rootdn when RootDN is updated (previously both nsslapd-rootdn and nsslapd-ldapimaprootdn were changed): # dsconf -D cn=Directory\ Manager ldap://localhost config replace nsslapd-rootdn="cn=admin" Enter password for cn=Directory Manager on ldap://localhost: Successfully replaced "nsslapd-rootdn" [2] When nsslapd-ldapimaprootdn is updated, dsconf logs a message: # dsconf -D cn=Directory\ Manager ldap://localhost config replace nsslapd-ldapimaprootdn="cn=admin" Enter password for cn=Directory Manager on ldap://localhost: Successfully replaced "nsslapd-ldapimaprootdn" The "nsslapd-ldapimaprootdn" setting is obsolete and kept for compatibility reasons. For LDAPI configuration, "nsslapd-rootdn" is used instead And in the errors log: [28/Jul/2023:03:54:30.718130078 -0400] - WARN - config_set_ldapi_root_dn - The "nsslapd-ldapimaprootdn" setting is obsolete and kept for compatibility reasons. For LDAPI configuration, "nsslapd-rootdn" is used instead. In cn=config new value is also present: # ldapsearch -LLL -D cn=Directory\ Manager -w password -H ldap://localhost -s base -b cn=config nsslapd-rootdn nsslapd-ldapimaprootdn dn: cn=config nsslapd-rootdn: cn=Directory Manager nsslapd-ldapimaprootdn: cn=admin And autobind continues to work, since nsslapd-rootdn is now used, instead of nsslapd-ldapimaprootdn # dsconf localhost backend suffix list dc=example,dc=com (userroot) # echo $? 0 [28/Jul/2023:04:08:03.981381558 -0400] conn=14 fd=64 slot=64 connection from local to /run/slapd-localhost.socket [28/Jul/2023:04:08:03.985945222 -0400] conn=14 AUTOBIND dn="cn=Directory Manager" [28/Jul/2023:04:08:03.987695893 -0400] conn=14 op=0 BIND dn="cn=Directory Manager" method=sasl version=3 mech=EXTERNAL Marking as Verified:Tested Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (389-ds-base bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6350 |