Index an attribute
dn: cn=catalogs
changetype: modify
add: orclindexedattribute
orclindexedattribute: attributename
-
Remove an index
dn: cn=catalogs
changetype: modify
delete: orclindexedattribute
orclindexedattribute: attributename
-
Re-index an attribute
that was previously removed. If you remove an index form an attribute and the data remains and you need to re-index the data in place then you need to use the catalog command line tool.
$ORACLE_HOME/ldap/bin/catalog connect=oiddev add="TRUE" attribute="attributename"
Unwilling to perform
If after the attribute has been re-indexed the directory server will still not allow it to be searched and returns an unwilling to perform error, try restarting the OID gateway.
$ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=OID
Current Indexed AttirbutesUse ldapsearch to get the current indexed attributes
ldapsearch -h localhost -p 389 -x -s base -b "cn=catalogs" "objectclass=*"
No comments:
Post a Comment