000026027 - XudaJurisdictionGetCA() call returns XrcNOTFOUND even though the CA object exists

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000026027
Applies ToRSA Certificate Manager 6.6 API
IssueXudaJurisdictionGetCA() call returns XrcNOTFOUND even though the CA object exists in the RSA Certificate Manager (RSA CM) Secure Directory
If XresFETCHFIELDS is not set at all, or it is reset to NULL prior to calling XudaJurisdictionGetCA(), then the CA object is returned by XudaJurisdictionGetCA() as expected
CauseSetting XresFETCHFIELDS, using XudaSetResourceValue(), affects subsequent call to XudaJurisdictionGetCA() and results in XrcNOTFOUND even though the CA object exists.  XresFETCHFIELDS sets a list of attributes to be returned in objects retrieved from RSA CM Directory Server through LDAP searches etc.  If XresFETCHFIELDS is not reset (to NULL) it applies to all subsequent calls for LDAP searches as well as to XudaJurisdictionGetCA().
ResolutionA workaround is to set XresFETCHFIELDS to NULL, using XudaSetResourceValue(), prior to calling XudaJurisdictionGetCA().

This issue will be fixed in a future hot fix for RSA CM 6.6 API and/or in the next release.  Contact RSA Customer Support for an update on the status of availability of a fix.
WorkaroundSet XresFETCHFIELDS, using XudaSetResourceValue(), to a particular attribute prior to making an LDAP search and did not reset its value before calling XudaJurisdictionGetCA().  For example, the following call was made:

  XudaSetResourceValue(session, XresFETCHFIELDS, "ID", NULL);
Legacy Article IDa32538