DPS 6.3.1.1.1 modify base-dn with data-view
I'm having a problem with an off the shelf application we are trying to integrate with our environment. This application binds and attempts to search for a user account with an invalid search base. The root of the DIT for example is o=company,c=us. This application sets the base for its ldapsearch to c=us which does not exist. The application expects an error 32 response in this case and then it will set the base to o=company,c=us and search again. The app is parsing the full dn of the user (uid=user,ou=people,ou=branch,o=company,c=us) by comma and that is how it arrives at the invalid base-dn.
In our environment the application binds to DPS and instead of an error 32 response DPS sends back an error code 50. I've tried getting around this by creating a dataview with base-dn "c=us" and adding it to the connection handler. This works for searches with scope of 2 but this application is setting the scope to 'base' which still results in the error code 50.
Is there a way to use the dataview to convert "c=us" to the actual root "o=company,c=us"?