Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

changeLDAPConnectionTimeout.sh -- Change the connection timeout to get to a Directory Server

Synopsis

sudo changeLDAPConnectionTimeout.sh
sudo changeLDAPConnectionTimeout.sh <mountPoint> <computerName> <currentUsername> <timeout>

If the $timeout parameter is specified (parameter 4), this is the timeout value that will be
set. The timeout value should be specified as an integer in seconds.

If no parameter is specified for parameter 4, the hardcoded value in the script will be used.

Description

This script will modify the length of time that Directory Services will wait before an attempted connection times out. Modifying this value can be particularly useful in an environment with mobile users that are bound to an LDAP server that is not accessible from the outside world. The <timeout> value can be used with a hardcoded value in the script, or read in as a parameter. Since the Casper Suite defines the first three parameters as (1) Mount Point, (2) Computer Name and (3) username, we are using the fourth parameter ($4) as the passable parameter.

Download

Preview

Generating Preview...

413 Downloads
Uploaded: 11/5/11 at 7:49 PM by jake
Product: Mac OS X