| Summary: | Disabling CLEAR password storage scheme will crash server when setting a password | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | mreynolds |
| Component: | 389-ds-base | Assignee: | mreynolds |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | high | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | high | ||
| Version: | 6.9 | CC: | amsharma, enewland, lmiksik, mreynolds, nhosoi, nkinder, rmeggins, vashirov |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.2.11.15-83.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Directory Server no longer fails when disabling the *CLEAR* password storage scheme plug-in
Previously, Directory Server required that the *CLEAR* password storage plug-in was enabled when setting "userPassword" attributes. As a consequence, Directory Server terminated unexpectedly when attempting to set "userPassword" attributes, if *CLEAR* was disabled. This update applies a patch and as a result, Directory Server no longer fails in the described situation.
|
Story Points: | --- |
| Clone Of: | 1371284 | Environment: | |
| Last Closed: | 2017-03-21 10:22:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1371284 | ||
| Bug Blocks: | |||
|
Description
mreynolds
2016-08-30 18:57:29 UTC
[root@spider yum.repos.d]# rpm -qa | grep 389 389-ds-base-libs-1.2.11.15-85.el6.x86_64 389-ds-base-1.2.11.15-85.el6.x86_64 Disable password storage scheme CLEAR [root@spider yum.repos.d]# /usr/bin/ldapmodify -x -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF > dn: cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config > replace: nsslapd-pluginEnabled > nsslapd-pluginEnabled: off > EOF modifying entry "cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config" [root@spider yum.repos.d]# /usr/bin/ldapsearch -x -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 -b "cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config" |grep -i nsslapd-pluginEnabled nsslapd-pluginEnabled: off Add users with password with clear text. [root@spider yum.repos.d]# ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=amita,dc=example,dc=com > cn: amita > sn: amita > givenname: amita > objectclass: top > objectclass: person > objectclass: organizationalPerson > objectclass: inetOrgPerson > uid: amita > mail: amita > userpassword: Secret123 > EOF adding new entry "uid=amita,dc=example,dc=com" [root@spider yum.repos.d]# /usr/bin/ldapmodify -x -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=amita,dc=example,dc=com > replace: userpassword > userPassword: 123456www > EOF modifying entry "uid=amita,dc=example,dc=com" [root@spider yum.repos.d]# ps -ef |grep -i slapd-spider nobody 8712 1 0 01:31 ? 00:00:00 ./ns-slapd -D /etc/dirsrv/slapd-spider -i /var/run/dirsrv/slapd-spider.pid -w /var/run/dirsrv/slapd-spider.startpid root 8800 8438 0 01:52 pts/0 00:00:00 grep -i slapd-spider Set nsslapd-pluginEnabled: on and repeat all the steps [root@spider yum.repos.d]# /usr/bin/ldapmodify -x -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF > dn: cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config > replace: nsslapd-pluginEnabled > nsslapd-pluginEnabled: on > EOF modifying entry "cn=CLEAR,cn=Password Storage Schemes,cn=plugins,cn=config" ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF > dn: uid=amita1,dc=example,dc=com > cn: amita1 > sn: amita1 > givenname: amita1 > objectclass: top > objectclass: person > objectclass: organizationalPerson > objectclass: inetOrgPerson > uid: amita1 > mail: amita1 > userpassword: Secret123 > EOF adding new entry "uid=amita1,dc=example,dc=com" [root@spider yum.repos.d]# /usr/bin/ldapmodify -x -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF dn: uid=amita1,dc=example,dc=com replace: userpassword userPassword: 123456www EOF [root@spider yum.repos.d]# ps -ef |grep -i slapd-spider nobody 8712 1 0 01:31 ? 00:00:00 ./ns-slapd -D /etc/dirsrv/slapd-spider -i /var/run/dirsrv/slapd-spider.pid -w /var/run/dirsrv/slapd-spider.startpid root 8829 8438 0 01:56 pts/0 00:00:00 grep -i slapd-spider Hence marking as VERIFIED. 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, 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://rhn.redhat.com/errata/RHBA-2017-0667.html |