Bug 918705
| Summary: | [RFE] allow turning off vattr lookup in search entry return | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nathan Kinder <nkinder> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sankar Ramalingam <sramling> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | amsharma, jgalipea, mreynolds, nhosoi, nkinder |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.1.2-1.el7 | Doc Type: | Enhancement |
| Doc Text: |
Cause: Improving search performance.
Consequence: Poor search performance.
Change: All searches are checked for the presence of virtual attributes. This impacts performance. If virtual attributer are not being used, then this virutal attribute lookup can be disabled
Result: If virtual attribute lookups are disabled, search performance improves.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:20:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nathan Kinder
2013-03-06 18:15:26 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata). When the errata is created, the bugs should be automatically moved back to ON_QA. There is a way to turn off vattr checking now ... please add steps to do this and indicate how to verify. (In reply to Jenny Galipeau from comment #5) > There is a way to turn off vattr checking now ... please add steps to do > this and indicate how to verify. nsslapd-ignore-virtual-attrs: on|off Setting: ldapmodify -D "cn=directory manager" -w password dn: cn=config changetype: modify replace: nsslapd-ignore-virtual-attrs nsslapd-ignore-virtual-attrs: on Checking: ldapsearch -D "cn=directory manager" -w password -b cn=config -s base objectlcass=top dn nsslapd-ignore-virtual-attrs If the attribute is not present, then the default is off. Otherwise the value is as indicated in the attribute value. [root@dhcp201-149 ~]# ldapsearch -x -h localhost -D "cn=Directory Manager" -w Secret123 -p 389 -b cn=config | grep -i "nsslapd-ignore-virtual-attrs" nsslapd-ignore-virtual-attrs: off [root@dhcp201-149 ~]# ldapmodify -x -h localhost -D "cn=Directory Manager" -w Secret123 -p 389 << EOF dn: cn=config changetype: modify replace: nsslapd-ignore-virtual-attrs nsslapd-ignore-virtual-attrs: on EOF modifying entry "cn=config" [root@dhcp201-149 ~]# ldapsearch -x -h localhost -D "cn=Directory Manager" -w Secret123 -p 389 -b cn=config | grep -i "nsslapd-ignore-virtual-attrs" nsslapd-ignore-virtual-attrs: on Marking bug as VERIFIED, Sanity Only. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |