set_ldap_timeout
Use the set_ldap_timeout
command to set the time-out interval used by LDAP commands. LDAP commands are ADEdit commands such as select_zone
that perform read/write operations on Active Directory through a binding. The time-out value controls how long these commands will wait for a response before declaring a time-out and ceasing operation.
The default value is five minutes.
Zone type
Not applicable
Syntax
set_ldap_timeout timeout_in_seconds
Abbreviation
None.
Options
This command takes no options.
Arguments
This command takes the following argument:
Argument | Type | Description |
timeout_in_seconds |
integer |
Required. Specifies the number of seconds to wait for a response from Active Directory before ending an operation. The default value is 300 seconds (5 minutes). |
Return value
This command returns nothing if it runs successfully.
Examples
set_ldap_timeout 120
This example sets the LDAP time-out interval to 120 seconds (2 minutes).
Related commands
None.