Bug 224672 - Get rid of key/cert db prefix
Get rid of key/cert db prefix
Product: 389
Classification: Community
Component: Install/Uninstall (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
Depends On:
Blocks: 152373 240316 FDS1.1.0
  Show dependency treegraph
Reported: 2007-01-26 17:53 EST by Rich Megginson
Modified: 2015-12-07 11:32 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-07 11:32:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
diffs (6.22 KB, patch)
2007-01-26 17:59 EST, Rich Megginson
no flags Details | Diff

  None (edit)
Description Rich Megginson 2007-01-26 17:53:07 EST
Now that the key/cert dbs are in their own instance specific directory, we don't
need the name prefix anymore, so we should just get rid of it.  We have the
certdir in the config now - all we really need to do is make sure it exists and
is writable.
Comment 1 Rich Megginson 2007-01-26 17:59:05 EST
Created attachment 146728 [details]
Comment 2 Noriko Hosoi 2007-01-26 20:07:09 EST
Looks good.
Comment 3 Rich Megginson 2007-01-29 11:48:07 EST
Reviewed by: nhosoi (Thanks!)
Files: see diff
Branch: HEAD
Fix Description: Now that we have everything in its own instance specific
directory, we do not need the troublesome key/cert database prefix.  This
simplifies the slapd_nss_init code a great deal.
Platforms tested: RHEL4
Flag Day: no
Doc impact: YES - A couple of the pages on the wiki talk about
slapd-instance-cert8.db and so on - these pages will have to change once FDS 1.1
is released

Checking in ldapserver/ldap/servers/slapd/ssl.c;
/cvs/dirsec/ldapserver/ldap/servers/slapd/ssl.c,v  <--  ssl.c
new revision: 1.12; previous revision: 1.11
Comment 4 Anh Nguyen 2007-12-05 12:36:06 EST

[root@babylon1 snmp]# bash sortrpmsbydate.bash | grep redhat-ds
1196464299 redhat-ds-base-8.0.0-11.el5dsrv Fri Nov 30 2007 
1196464319 redhat-ds-admin-8.0.0-1.15.el5dsrv Fri Nov 30 2007 
1196464343 redhat-ds-console-8.0.0-8.el5dsrv Fri Nov 30 2007 

[root@babylon1 slapd-babylon1]# ls
cert8.db      dse.ldif      dse.ldif.startOK   key3.db  secmod.db
certmap.conf  dse.ldif.bak  dse_original.ldif  schema   slapd-collations.conf
[root@babylon1 slapd-babylon1]# pwd
[root@babylon1 slapd-babylon1]#

Note You need to log in before you can comment on or make changes to this bug.