Bug 1371284
| Summary: | Disabling CLEAR password storage scheme will crash server when setting a password | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> | |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> | |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.3 | CC: | enewland, lmiksik, mreynolds, nkinder, rmeggins, sramling | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 389-ds-base-1.3.5.10-9.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1371678 (view as bug list) | Environment: | ||
| Last Closed: | 2016-11-03 20:45:29 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: | 1371678 | |||
|
Description
Noriko Hosoi
2016-08-29 19:40:17 UTC
Fixed upstream Verification steps: 1. Disable password storage scheme CLEAR 2. Add users with password with clear text. 3. Modify users password with clear text. [root@ratangad ~]# PORT=1189 ; /usr/bin/ldapmodify -x -p $PORT -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@ratangad ~]# PORT=1189 ; /usr/bin/ldapsearch -x -p $PORT -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 [root@ratangad MMR_WINSYNC]# cat DATA/PUser1.ldif |grep -i pass userPassword: Secret123 [root@ratangad MMR_WINSYNC]# ./AddEntry.sh Users 1189 "ou=testing,dc=passsync,dc=com" clearusrpwd 3 localhost adding new entry "uid=clearusrpwd3,ou=testing,dc=passsync,dc=com" adding new entry "uid=clearusrpwd2,ou=testing,dc=passsync,dc=com" adding new entry "uid=clearusrpwd1,ou=testing,dc=passsync,dc=com" [root@ratangad ~]# PORT=1189 ; /usr/bin/ldapmodify -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 << EOF> dn: uid=clearusrpwd3,ou=Testing,dc=passsync,dc=com > replace: userpassword > userPassword: 123456www > EOF modifying entry "uid=clearusrpwd3,ou=Testing,dc=passsync,dc=com" [root@ratangad ~]# ps -ef |grep -i slapd-M1 dsuser 3430 1 0 Sep07 ? 00:02:44 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-M1 -i /var/run/dirsrv/slapd-M1.pid [root@ratangad MMR_WINSYNC]# PORT=1189 ; /usr/bin/ldapmodify -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 << EOFdn: 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" [root@ratangad MMR_WINSYNC]# ./AddEntry.sh Users 1189 "ou=testing,dc=passsync,dc=com" ONclearusrpwd 3 localhost No of entries added will be 3 Adding 3 Users to adding new entry "uid=ONclearusrpwd3,ou=testing,dc=passsync,dc=com" adding new entry "uid=ONclearusrpwd2,ou=testing,dc=passsync,dc=com" adding new entry "uid=ONclearusrpwd1,ou=testing,dc=passsync,dc=com" [root@ratangad ~]# PORT=1189 ; /usr/bin/ldapmodify -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 << EOF dn: uid=ONclearusrpwd3,ou=Testing,dc=passsync,dc=com replace: userpassword userPassword: 2333$123456www EOF modifying entry "uid=ONclearusrpwd3,ou=Testing,dc=passsync,dc=com" [root@ratangad ~]# ps -eaf |grep -i slapd-M1 dsuser 7797 1 0 10:21 ? 00:00:00 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-M1 -i /var/run/dirsrv/slapd-M1.pid root 21787 9982 0 10:26 pts/2 00:00:00 grep --color=auto -i slapd-M1 Successfully added/modified clear text password to users by setting CLEAR password storage scheme plugin to Off/On. Hence, marking the bug as Verified. [root@ratangad MMR_WINSYNC]# rpm -qa |grep -i 389-ds-base 389-ds-base-1.3.5.10-10.el7.x86_64 389-ds-base-debuginfo-1.3.5.10-6.el7.x86_64 389-ds-base-libs-1.3.5.10-10.el7.x86_64 389-ds-base-devel-1.3.5.10-10.el7.x86_64 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/RHSA-2016-2594.html |