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:
- 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 [logging] stanza, the logflush stanza entry has a minimum value of 1 second and a maximum value of 600 seconds.
- 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. For example, an integer value of 0 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 requiring 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