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.
Wednesday, July 29, 2009
Subscribe to:
Post Comments (Atom)

![Validate my Atom 1.0 feed [Valid Atom 1.0]](http://4.bp.blogspot.com/_1DZkSxdocDo/SeRZqmezMfI/AAAAAAAAAI4/fkoNVB7dsv0/s400/valid-atom.png)
1 reactions:
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.
Post a Comment
comment