Bug 593453
Summary: | Creating password policy with ns-newpolicy.pl on Replicated Server Causes Crash | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Jenny Severance <jgalipea> | ||||
Component: | Replication - General | Assignee: | Noriko Hosoi <nhosoi> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 1.2.6 | CC: | nhosoi, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 16:43:35 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: | 434914, 543590 | ||||||
Attachments: |
|
Description
Jenny Severance
2010-05-18 19:53:04 UTC
package version: redhat-ds-base-8.2.0-2010051804.el4dsrv Created attachment 414983 [details]
git patch file (9.0)
File: ldap/servers/slapd/util.c
Fix description: normalized_mods->mod_bvalues is an array of
(struct berval *). When slapi_dn_normalize_ext returns an
allocated memory (case rc > 0), a new struct berval should have
been allocated and the address of the normalized string (normed)
and its length (dnlen) should be set in the berval.
The struct berval allocation was missing in the previous fix
for "Update to New DN Format".
Thanks to Nathan for reviewing the fix. Pushed to master: $ git merge work Updating c12c48f..f999c42 Fast forward ldap/servers/slapd/util.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) $ git push Counting objects: 11, done. Delta compression using 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 841 bytes, done. Total 6 (delta 4), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git c12c48f..f999c42 master -> master As well as to Directory_Server_8_2_Branch: $ git push origin ds82-local:Directory_Server_8_2_Branch Counting objects: 11, done. Delta compression using 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 839 bytes, done. Total 6 (delta 4), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 351c6df..9b22aa3 ds82-local -> Directory_Server_8_2_Branch fix verified - RHEL 4 version: redhat-ds-base-8.2.0-2010052004.el4dsrv Adding new policy with template-ns-newpwpolicy.pl - no longer crashing server. |