Bug 918690
| Summary: | Existence of an entry is not checked when its password is to be deleted | ||
|---|---|---|---|
| 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, nhosoi |
| 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: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 13:17:13 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:13:30 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@dhcp201-149 ~]# rpm -qa | grep 389 389-adminutil-1.1.15-3.fc19.1.x86_64 389-admin-console-1.1.8-5.fc19.noarch 389-dsgw-1.1.10-1.fc19.x86_64 389-console-1.1.7-4.fc19.noarch 389-ds-base-libs-1.3.1.6-12.el7.x86_64 389-admin-1.1.31-1.fc19.2.x86_64 389-ds-console-1.2.7-2.fc19.noarch 389-admin-console-doc-1.1.8-5.fc19.noarch 389-ds-1.2.2-4.fc19.noarch 389-ds-base-1.3.1.6-12.el7.x86_64 389-ds-console-doc-1.2.7-2.fc19.noarch [root@dhcp201-149 ~]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF dn: uid=tuser1,ou=People,dc=example,dc=com changetype: modify delete: userpassword EOF modifying entry "uid=tuser1,ou=People,dc=example,dc=com" ldap_modify: No such object (32) matched DN: ou=People,dc=example,dc=com [root@dhcp201-149 ~]# ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=tuser1,ou=People,dc=example,dc=com > cn: tuser > sn: tuser > givenname: tuser > objectclass: top > objectclass: person > objectclass: organizationalPerson > objectclass: inetOrgPerson > uid: tuser1 > mail: ams > userpassword: amsamsams > EOF adding new entry "uid=tuser1,ou=People,dc=example,dc=com" [root@dhcp201-149 ~]# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=tuser1,ou=People,dc=example,dc=com > changetype: modify > delete: userpassword > EOF modifying entry "uid=tuser1,ou=People,dc=example,dc=com" Hence marking as VERIFIED. Test Case Automated in [svrbld@dhcp201-149 pwpolicy]$ svn ci pwdpolicy.sh -m "Automated bug918690" Sending pwdpolicy.sh Transmitting file data . Committed revision 8771. ================================================================== ----------------- Starting Test bug918690 ------------------------- ================================================================== Existence of an entry is not checked when its password is to be deleted Delete password for a non-existing user ldap_modify: No such object ldap_modify: matched: ou=People,dc=example,dc=com modifying entry uid=NON-EXISTING,ou=People,dc=example,dc=com bug918690: expect=32 actual=32 PASS bug918690 is passed TestCase [bug918690] result-> [PASS] 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. |