Bug 918684
| Summary: | modify-delete userpassword | |||
|---|---|---|---|---|
| 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, vashirov | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 389-ds-base-1.3.1.2-1.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Deleting a specific userpassword, the clear text password was being compared the encoded password.
Consequence: Internally the provided clear text password was being compared to the stored encoded password value. An error 16 is returned because it can not find a match.
Fix: During the delete, we check if the value to delete is encoded. If it is not, then it gets encoded so it can be compared to the existing encoded values in the entry.
Result: The delete of a specific userpassword is successful.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1053232 (view as bug list) | Environment: | ||
| Last Closed: | 2014-06-13 10:19:22 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1053232 | |||
|
Description
Nathan Kinder
2013-03-06 18:12:38 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. [root@cloud-qe-1-vm-2 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) [root@cloud-qe-1-vm-2 ~]# rpm -qf `which ns-slapd` 389-ds-base-1.2.11.25-1.el6.i686 ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF dn: uid=ams,ou=People,dc=example,dc=com cn: ams sn: ams givenname: ams objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson uid: ams mail: ams userpassword: newpassword EOF [root@cloud-qe-1-vm-2 ~]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF dn: uid=ams,ou=People,dc=example,dc=com changetype: modify delete: userpassword userpassword: newpassword EOF modifying entry "uid=ams,ou=People,dc=example,dc=com" ldap_modify: No such attribute (16) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@dhcp201-149 ldapbertest]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 Beta (Maipo) [root@dhcp201-149 ldapbertest]# rpm -qf `which ns-slapd` 389-ds-base-1.3.1.6-12.el7.x86_64 [root@dhcp201-149 ldapbertest]# ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=ams,ou=People,dc=example,dc=com > cn: ams > sn: ams > givenname: ams > objectclass: top > objectclass: person > objectclass: organizationalPerson > objectclass: inetOrgPerson > uid: ams > mail: ams > userpassword: newpassword > EOF adding new entry "uid=ams,ou=People,dc=example,dc=com" [root@dhcp201-149 ldapbertest]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=ams,ou=People,dc=example,dc=com > changetype: modify > delete: userpassword > userpassword: newpassword > EOF modifying entry "uid=ams,ou=People,dc=example,dc=com" [root@dhcp201-149 ldapbertest]# ldapsearch -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 -b "ou=People,dc=example,dc=com" # ams, People, example.com dn: uid=ams,ou=People,dc=example,dc=com cn: ams sn: ams givenName: ams objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson uid: ams mail: ams 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. |