Red Hat Directory Server 8.0 Administrator's Guide
Entering a value of -1 indicates no limit.
4. Click OK.
3.2. Setting Resource Limits Using the Command-Line
The following operational attributes can be set for each entry using the command-line. Use
ldapmodify to add the following attributes to the entry:
Attribute Description
nsLookThroughLimit Specifies how many entries are examined for
a search operation. Giving this attribute a
value of -1 indicates that there is no limit.
nsSizeLimit Specifies the maximum number of entries the
server returns to a client application in
response to a search operation. Giving this
attribute a value of -1 indicates that there is
no limit.
nsTimeLimit Specifies the maximum time the server
spends processing a search operation. Giving
this attribute a value of -1 indicates that there
is no time limit.
nsIdleTimeout Specifies the time a connection to the server
can be idle before the connection is dropped.
The value is given in seconds. Giving this
attribute a value of -1 indicates that there is
no limit.
For example, this sets the size limit for Barbara Jensen by using ldapmodify
1
to modify her
entry:
ldapmodify -h myserver -p 389 -D "cn=directory manager" -w secretpwd
dn: uid=bjensen,ou=people,dc=example,dc=com
changetype: modify
add:nsSizeLimit
nsSizeLimit: 500
The ldapmodify statement adds the nsSizeLimit attribute to Babs Jensen's entry and gives it
a search return size limit of 500 entries.
Console
265