2015-04-14-#IndexDefinitions created by IDM adding lots of values to some attributes.
Edirectory Indexes are created automatically when an attribute has more than 25 values or if the value of the attribute is more than 2048 bytes.
Such attributes are moved to a separate attribute container and indexes are created for them. These auto-generated indexes are marked as system indexes.
EDirectory does not permit deleting system indexes and hence, any attempt to delete them gives an error.
To workaround this issue, add the following value in the in _ndsdb.ini file in the DIB directory, and then restart ndsd:
This prevents the attributes from being moved to the attribute container. However, this command will not affect the attributes that are already there in the container.
We have also seen conditions where there were a very large number of attributes in use on many entries. When one of the entries added the 25th value, the existing index is dropped and the system index is created. When this happens, there is a time when there is no Edirectory Indexes on an attribute. This causes very slow searches.
When there are many entries with several values, creating the new index took forever.