Bug 215697

Summary: Manager Certificate DB file problem for DS/Administration Server
Product: [Retired] 389 Reporter: Ashley Chew <ashley>
Component: Directory ServerAssignee: Rich Megginson <rmeggins>
Status: CLOSED DUPLICATE QA Contact: Orla Hegarty <ohegarty>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.4CC: ohegarty
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-15 14:06:43 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:

Description Ashley Chew 2006-11-15 08:52:20 UTC
Description of problem:

There seem to be a problem with initializing the Security DB files for Directory 
Server (Seems to be just for the Administration Server but seems somewhat 
applicable to the Directoy Server component as well)

Version-Release number of selected component (if applicable):

Fedora Directory Server 1.04 build 2006.312.1621

How reproducible:
Fresh RPM install from fedora-ds-1.0.4-1.FC4.i386.opt.rpm on Fedora Core 4 box 
with custom install. When you enter the Admin Server you hit Console -> Security 
-> Manage Certificates.

Reports "Could not open file admin-serv-hostname-cert8.db"

Steps to Reproduce:
1. Install FC4 installation
2. Install IBM JDK 1.4.2 (rpm -ivh IBMJava2-142-ia32-SDK-1.4.2-3.0.i386.rpm)
3. Export Java variables to shell ie export JAVA_HOME=/opt/IBMJava2-142, export
PATH=/opt/IBMJava2-142/bin:$PATH
4. Install the RPM for the appropriate distribution (rpm -ivh fedora-ds-1.0.4-1.
FC4.i386.opt.rpm)
5. Run the setup for (/opt/fedora-ds/setup/setup) and setup using the defaults
6. First Time you run the console you go into the administration console, then 
run Console -> Security -> Manage Certificates.
  
Actual results: 

Reports "Could not open file admin-serv-hostname-cert8.db"

From Fedora Directory Server 1.01 and 1.02 (I bypassed 1.03), it usually ask you 
 to enter a password which initialize a database files if it is not present in 
the /opt/fedora-ds/alias.

By default it only has the slapd-hostname-cert8.db and slapd-hostname-key3.db 
which are for only Fedora Directoy Server. So it has yet to create a set for 
Administration Server ie ( admin-serv-hostname-cert8.db  / admin-serv-hostname-
key3.db )

I just wanted to test if it also occured for Fedora Directory Server. I deleted
slapd-hostname-cert8.db and slapd-hostname-key3.db in the /opt/fedora-ds/alias.
It dosn't ask for a password just like for the Administration Server. Says
"Could not open file slapd-hostname-cert8.db"

(I made the alias direcotry would read/write/execute just to make sure ie chmod 
-R 777 /opt/fedora-ds/alias but makes no difference)


Expected results:
Should ask for password phrase to initialiase or populate the /opt/fedora-ds/
alias area but it just goes looking for the file but there are no db files to 
manage the certificate

Additional info:

                                                Cheers then, Ashley

Comment 1 Rich Megginson 2006-11-15 14:06:43 UTC

*** This bug has been marked as a duplicate of 215218 ***

Comment 2 Chandrasekar Kannan 2008-08-11 23:49:11 UTC
Bug already CLOSED. setting screened+ flag