Skip to main content

Oracle Virtual Directory has a neat feature in that by default, if one of your joined directories to a Local Storage Adapter goes down, the entire tree fails to load.

My first thought… awesome.

If you have a local store adapter with three different directories joined into it, (OID, AD, and SunLDAP), it’ll make a unified tree with all the user objects in it. If that’s what you configured it to do, which most people do. Now, let’s say the SunLDAP is for some little app with only a handful of users in it, which means it’s not highly available and gremlins love to tear that shit up. Should that SunLDAP not be available to OVD, your lovely root tree that OAM is using to authenticate all your users into will no longer load, which means that OAM fails to authenticate users, which means your entire enterprise has been brought to it’s need and Help Desk has now moved you to the top of their “we’re going to kill this guy” list. All because some crappy userstore that’s never really used when down for five minutes. Arg!

How to fix? You need to make sure that this adapter is configured with a criticality level of False. By default this is True.

False = Log the error, but still return the results
True = Log the error and return NO results
Partial = Log the error, and return the results, but also append the error code.

This setting is in the Routing tab in the adapter towards the bottom.

 

<img src=”https://images.squarespace-cdn.com/content/v1/5b46aaa78ab7226e32a31180/1575318433336-LY81Q9NC14VO8B0VJTAF/image-asset.png” alt=”” />

 

Make sure you click Apply at the stop to save your changes. You might have to bounce OVD too, not sure. Might as well just to be safe.

Cheers!