Bug 170791
Summary: | Schema file parsing overly picky? | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Steve Bonneville <sbonnevi> | ||||
Component: | Schema | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.2.8 | CC: | benl, dpal, jgalipea, nhosoi, nkinder | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 389-ds-base-1.3.2.0-1.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-12-18 19:35:54 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: | 495079, 512820, 690319 | ||||||
Attachments: |
|
Description
Steve Bonneville
2005-10-14 15:50:49 UTC
Oh, and I've also mailed the developers of the Perl conversion scripts referenced above to notify them of this issue, including this bug number. Thanks Steve. Yes, there are several places where the DS is too strict or too lenient or lacking with respect to RFC 2252 (e.g. no support for EQUALITY, SUBSTRING, etc.). We need to visit this area in our 7.2 development. Nathan Benson has written an openldap-to-rhds schema conversion script that can deal with the strict adherence to RFC2252 that Directory Server seems to adhere to. I tried it myself on the samba.schema provided with Samba 3.0.20 and it converts the schema properly. here's a URL to the script, and also a note from Nathan on how to use it: http://www.directory.fedora.redhat.com/download/ol2rhds.pl > > something like this should give you the results that you are looking for: > > > > cat samba.schema | ./ol2rhds.pl > 62samba3.0.20.ldif > > > > This falls under the category of "improve schema parser" Created attachment 496415 [details] Fix proposal for 10rfc2307bis.ldif provided by Adrien Guillon On 05/02/2011 05:55 PM, Adrien Guillon wrote: > Today on #389 on freenode we spent some time attempting to understand > why directory 389 did not load changes to the schema. I shutdown > dirsrv, replaced the rfc2307.ldif schema with rfc2307bis.ldif, > restarted, and noticed that the schema change had not taken effect. > This was due to the formatting of the rfc2307bis.ldif file itself > (basically the DESC field was in the wrong place). I have attached a > fixed ldif file. Upstream ticket: https://fedorahosted.org/389/ticket/153 This was fixed in 389-ds-base-1.3.2.0-1.fc20. |