Thursday, September 25, 2014

Enable detailed error messages in Oracle Unified Directory 11g

Steps to enable detailed error messages in Oracle Unified Directory


1. Login to OUD Directory server installed machine
2. Navigate to OUD installed directory

In my case: /home/oracle/Oracle/Middleware_OUD/asinst_1/OUD/bin

3. Execute below command to check “return-bind-error-messages” property value

./dsconfig get-global-configuration-prop -p 4444 -h pokuri.demo.com -D "cn=Directory Manager" -j password

Note: password in the above command is a file that contains password in the same directory

Here is the sample output:

            


4. To update the “return-bind-error-messages” property value from “false” to “true” execute the below command.

./dsconfig -h pokuri.demo.com -p 4444 -D "cn=Directory Manager" -j password set-global-configuration-prop --set return-bind-error-messages:true

Note: password in the above command is a file that contains password in the same directory

Here is the sample output of the updated property:




5. Testing with sample user. After 3 unsuccessful login attempts there is a message showing “Account is locked” in the below screen.



Hope this helps !!!


-- Siva Pokuri.

No comments:

Post a Comment