Index OID attribute

An attribute is only searchable in OID if it is indexed. Search containing a non-indexed attribute in the ldap filter will return error as shown below
ldap_search: DSA is unwilling to perform
ldap_search: additional info:
LDAP Error 53 : [LDAP: error code 53 – Function Not Implemented, search filter attribute assistant is not indexed/cataloged]

Index using catalog. Running OID catalog tool for indexes all existing attribute values.
$ORACLE_HOME/ldap/bin/catalog connect=”OIDDB” add=true attribute=”verificationflag”
$ORACLE_HOME/ldap/bin/catalog connect=”OIDDB” delete=true attribute=”verificationflag”

Index can be done using odsm also. If you have new attribute and there is no data associated with it. Indexing can be done from ODSM. Values added after the index creation are indexed.
Navigate to schema->Attribute->attribute_name
Select the attribute, check indexed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s