Bug 175063
Summary: | entry with escaped characters fails to import and index | ||
---|---|---|---|
Product: | Red Hat Directory Server | Reporter: | Noriko Hosoi <nhosoi> |
Component: | Database - Import/Export | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Orla Hegarty <ohegarty> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | schetty |
Target Milestone: | DS8.0 | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-05-26 17:46:51 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: | 152373, 159328, 182367, 182630, 184343, 240316 | ||
Attachments: |
How to verify the bug: 1. import an ldif file 2. remove some entries 3. run db2index Actual results: db2index fails with this "foreman fifo error" [06/Dec/2005:09:44:41 -0800] - import userRoot: ERROR: foreman fifo error [06/Dec/2005:09:44:41 -0800] - import userRoot: Aborting all import threads... Expected results: db2index should finish w/o any error. Created attachment 121929 [details]
cvs commit message
Reviewed by Rich (Thank you!).
As Rich suggested, ran Accountinact and Pwdpolicy testcases and passed 100% (on RHEL4). Created attachment 122016 [details]
cvs commit dn.c
Reviewed by Rich (Thank you!)
Created attachment 124891 [details]
cvs commit message (Directory71RtmBranch)
*DOCS* When an ldif file contains an entry with the dn that includes escaped double quotes, importing the entry could have failed and the entry is skipped. Following reindex fails due to the skip. The bug was fixed on DS6.21 SP3, DS7.1 SP2(, and DS7.2). New regression testcase added to the import test plan and run as part of the daily acceptance test suite. Verified fixed on all supported platforms ( RHEL 3 and 4, Solaris 9 32 bit and 64 bit, and HP-UX 11i ) against DS 7.1 SP 2 Ported Import TET case and verified against DS 6.21 SP3 candidate 20060310.1 Somehow the errata system did not automatically close these bugs even though DS SP 2 is shipped and available live on RHN DS7.2 is not a valid milestone anymore. Anything thats set to DS7.2 should be set to DS8.0. Will make further changes per bug council on 07/24/2007, after this. Bug already CLOSED. setting screened+ flag |
Created attachment 121886 [details] cvs diff slapd/back-ldbm/{import.c,import-threads.c,import.h} If missing entry_id is found, skip it and continue reading the primary db to be reindexed.