
Database Attributes under cn=attributeName, cn=encrypted attributes, cn=database_name, cn=ldbm database, cn=plugins, cn=config
191
would not be. Indexed searches are significantly faster than unindexed searches, so changing the
minimum length of the search key is helpful to increase the number of indexed searches.
This substring length can be edited based on the position of any wildcard characters. The
nsSubStrMiddle
attribute sets the required number of characters for an indexed search where a
wildcard is used in the middle of a search string. For example:
ab*z
If the value of this attribute is changed, then the index must be regenerated using
db2index
.
Parameter
Description
Entry DN
cn=
attribute_name
, cn=index,
cn=
database_name
, cn=ldbm database,
cn=plugins, cn=config
Valid Values
Any integer
Default Value
3
Syntax
Integer
Example
nsSubStrMiddle: 3
3.4.8. Database Attributes under cn=attributeName, cn=encrypted
attributes, cn=database_name, cn=ldbm database, cn=plugins,
cn=config
The
nsAttributeEncryption
object class allows selective encryption of attributes within a
database. Extremely sensitive information such as credit card numbers and government identification
numbers may not be protected enough by routine access control measures. Normally, these attribute
values are stored in CLEAR within the database; encrypting them while they are stored adds another
layer of protection. This object class has one attribute,
nsEncryptionAlgorithm
, which sets the
encryption cipher used per attribute. Each encrypted attribute represents a subentry under the above
cn=config
information tree nodes, as shown in the following diagram:
Figure 3.3. Encrypted Attributes under the cn=config Node
For example, the database encryption file for the
userPassword
attribute under
o=UserRoot
appears in the Directory Server as follows:
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...