Closed Bug 734484 Opened 11 years ago Closed 11 years ago
Skip module load if already initialized or no db's are being added
The problem was originally reported as 'Unable to contact LDAP Server during winsync' The client in question, part of the Directory Server suite, uses the PEM module which doesn't add any databases. PEM module just loads certs and keys an ephemeral in memory database. Other cleinst of libpem could be affected. nss_Init should skip loading a module if either it has been initialized or the module doesn't add any database, e.g. noCertDB and noModDB are set. Attaching Bob Relyea's fix applied on RHEL and Fedora.
Comment on attachment 604511 [details] [diff] [review] skip loading a module if already initialized or no db's are being added r+ rrelyea
Attachment #604511 - Flags: review?(rrelyea) → review+
Thank you Bob. It turns that the patch for Bug 734492 that I had just committed, https://bug734492.bugzilla.mozilla.org/attachment.cgi?id=604520 already contained this one in it's first section.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.14
You need to log in before you can comment on or make changes to this bug.