Bug 426439
| Summary: | Unable to load CRL file for a DS instance - when its placed under /etc/dirsrv/slapd-INSTANCE | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Chandrasekar Kannan <ckannan> | ||||||||
| Component: | UI - Configuration | Assignee: | Rich Megginson <rmeggins> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 8.0 | CC: | benl, jgalipea, nhosoi, nkinder, rmeggins | ||||||||
| Target Milestone: | DS8.1 | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | 8.1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2009-04-29 23:01:31 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: | 249650, 493682 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Chandrasekar Kannan
2007-12-21 00:25:09 UTC
Created attachment 327005 [details]
diffs
Created attachment 327016 [details]
cvs commit log
Reviewed by: nhosoi (Thanks!)
Fix Description: The main problem was that it was not using the getSecurityDir function to get the security dir based on the SIE passed in. This function is called in main after getting the SIE. I changed the code to set this value in a static variable that can be used throughout the program.
In addition, I found and fixed some other bugs related to CRL handling:
1) The code did not work with ASCII CRLs generated by newer versions of crlutil which use the BEGIN CRL header. I added processing for that header type.
2) The code did not handle date/time in generalized time format. I added code to format the date/time based on the type of date/time stored in the CRL.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no
Created attachment 338036 [details]
crl file
attempting to import attached crl file from /etc/dirsrv/slapd-ID/ /etc/dirsrv/admin-serv/ /tmp/ All are resulting in file not found error. crl file must reside in /etc/dirsrv/slapd-ID/ and input only file name - not full path. Entering only file name works. Verified RHEL 5 DS 8.1 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0455.html |