[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7312) [PATCH 1/5] MozNSS: context specific token description for certdb

Full_Name: Jan Vcelak
Version: git master
OS: Linux
URL: http://jvcelak.fedorapeople.org/openldap-patches/jvcelak-120622-0001-MozNSS-context-specific-token-description-for-certdb.patch
Submission from: (NULL) (

Prior to this patch, certificate lookup in Mozilla NSS certificate database by
certificate nickname failed, if multiple certdbs were opened. This can happen in
certain configurations of replication. Or when an application which links
libldap, uses Mozilla NSS library as well.

With this patch, all certdbs are opened explicitly with SECMOD_OpenUserDB()
call. This allows us to specify a token description, which is later used as a
prefix for the certificate nickname. The token description is unique for each
TLS context created in OpenLDAP.

Patch could not upload to OpenLDAP FTP server due to "No space left on device.
Therefore I have uploaded the patch to fedorapeople.org. The patch is also
available in 'moznss' branch of git://github.com/fcelda/openldap.git

The attached file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in the following patch(es) were developed by Red
Hat. Red Hat has not assigned rights and/or interest in this work to any party.
I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under
the following terms.

The attached modifications to OpenLDAP Software are subject to the following

Red Hat hereby place the following modifications to OpenLDAP Software (and only
these modifications) into the public domain. Hence, these modifications may be
freely used and/or redistributed for any purpose with or without attribution
and/or other notice.