Integers
Many stanza entries expect the value for the entry to be expressed as an integer. When defining an entry with an integer, consider the following guidelines:
- Some stanza entries that take an integer value expect integer values within a valid range. The range is described in terms of a minimum value and a maximum value.
For example, in the [ivmgrd] stanza, the max-notifier-thread stanza entry has a minimum value of 1 thread and a maximum value of 128 threads.
- For some entries, the integer value must be positive and the minimum value is 1. For other entries, a minimum integer value of 0 is allowed.
Use caution when setting an integer value to 0, which might disable the function that is controlled by that stanza entry. For example, in the [ivacld] stanza, the entry tcp-req-port = 0 disables the port number. Or, an integer value of 0 might indicate the number is unlimited. For example, in the [ldap] stanza, the entry max-search-size = 0 means there is no limit to the maximum search size.
- For some entries that require integer values, Security Verify Access does not impose an upper limit for the maximum number allowed. For example, there is typically no maximum for timeout-related values, such as timeout = number in the [ldap] stanza.
For this type of entry, the maximum number is limited only by the size of memory allocated for an integer data type. This number can vary, based on the type of operating system. For systems that allocate 4 bytes for an integer, this value is 2147483647.
However, as the administrator, use a number representing the value that is most logical for the value we are trying to set.
Parent topic: Guidelines for changing configuration files