#1142 NPE in getconfigEntries when internaldb password is removed from master
Closed: Fixed None Opened 9 years ago by vakwetu.

This is something that was encountered in IPA when pviktorin attempted to clone an instance where the diectory manager password had been removed from password.conf. Because IPA uses a client cert to connect to the DB, the password is not needed.

The clone attempts to contact the master to get config entries from CS.cfg etc. If the password is missing, it adds a null value to the XML structure it returns, resulting in a NPE when the XML Object is serialized. This exception is sadly swallowed up.

Needs a null check for the values ..


Fixed in 10.2:

To ssh://vakwetu@git.fedorahosted.org/git/pki.git
8acd59f..745226e master -> master

Cherry-picked and committed to DOGTAG_10_1_BRANCH:

commit 746f97de4f46bd249277a05f8c49c107d7055384
Author: Ade Lee <alee@redhat.com>
Date:   Thu Sep 4 12:54:23 2014 -0400

    Check for null values in GetConfigEntries

    Ticket 1142

    (cherry picked from commit 745226e75d1d368e252993c36abb12c4c544a197)

Metadata Update from @vakwetu:
- Issue set to the milestone: 10.2 - 08/14 (August)

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1705

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata