Bug 1344293
| Summary: | At startup DES to AES password conversion causes timeout in start script | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marcel Kolaja <mkolaja> |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.3 | CC: | ekeck, mkolaja, mreynolds, nhosoi, nkinder, pbokoc, rmeggins, sreber |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.4.0-32.el7_2 | Doc Type: | Bug Fix |
| Doc Text: |
When 389 Directory Server starts, all present DES-encrypted passwords are automatically converted to AES. DES passwords were previously being detected using an internal unindexed search, which was too slow for very large user databases, and could potentially cause the startup process to time out and prevent Directory Server from starting. With this update, only the configuration suffix "cn=config" is being checked for DES passwords, and a new slapi task "des2aes" is now available which can be run after starting the server to convert DES passwords to AES on a specific database if needed. The server therefore starts up regardless of the database size.
|
Story Points: | --- |
| Clone Of: | 1342609 | Environment: | |
| Last Closed: | 2016-06-23 16:23:15 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: | 1342609 | ||
| Bug Blocks: | |||
|
Description
Marcel Kolaja
2016-06-09 10:55:49 UTC
Build tested: 389-ds-base-1.3.4.0-32.el7_2.x86_64 ticket47462_test.py::test_ticket47462 PASSED Also I tested scenario with the large database (500k entries). [1] Disable AES plugin [2] Add description as nsslapd-pluginarg2 for DES plugin [3] Create 500k entries with description [4] Restart the server On older version (389-ds-base-1.3.4.0-31.el7_2.x86_64) server failed to start after 10 minutes. Last message in errors log: [12/Jun/2016:20:03:51 -0400] - convert_pbe_des_to_aes: Checking for DES passwords to convert to AES... After upgrading to build -32 server started up immediately. To convert DES passwords I started des2aes task: [12/Jun/2016:20:22:32 -0400] des2aes task - Successfully converted password for (uid=500000,ou=People,dc=example,dc=com) ... [12/Jun/2016:20:46:38 -0400] des2aes task - Successfully converted password for (uid=00000,ou=People,dc=example,dc=com) 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://access.redhat.com/errata/RHBA-2016:1298 |