Wednesday, July 29, 2009

Ldap_Search: DSA Is Unwilling To Perform

Today I wanted to make an shell script that checks if an attribute of an user in the OID had a specific value. I tried to make an ldapsearch statement but it failed with the error:

DSA Is Unwilling To Perform
ldap_search: additional info: Function Not Implemented


I found out that it is not possible to search on an uncataloged (unindexed) attribute.

This can be fixed by:

Create an index on the attribute used in the search using catalog.

For this example:
$ORACLE_HOME/ldap/bin/catalog connect="[ORACLE_SID_METADATA REPOSITORY]" add=true attribute="[SEARCH ATTRIBUTE]"

Output:
This tool can only be executed if you know database user password for OID
Enter OID Password ::

Password of het orcladmin user should be entered now!



Restart the OID server.

Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

5 comments:

  1. Nice post !
    I was facing the same problem while search in PL/SQL code.
    I found ur blog after resolving the issue.
    It could have saved me 1 hour.

    ReplyDelete
  2. Just what I need - thanks!

    ReplyDelete
  3. Thanks! ur post helped me out a lot

    ReplyDelete
  4. Any changes to be made on shell script please post here. The only way I know is by creating a Index

    sap testing tools

    ReplyDelete

comment