Skip to main content
Jamf Nation, hosted by Jamf, is a dynamic and knowledgeable community of Apple-focused IT admins and Jamf Pro users. Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.

bindToLDAP.sh -- Bind to LDAP

Synopsis

sudo bindToLDAP.sh
sudo bindToLDAP.sh <mountPoint> <computerName> <currentUsername> <serverAddress>

Description

This script will bind a Mac OS X Server or Client machine to any LDAP server. This script is part of a larger process that is required to bind machines to an LDAP server and is intended to be used for situations in which the built-in binding types (AD, OD, Centrify, Likewise, ADmitMac) are not acceptable. This script is designed to be used when attribute mappings need to be customized through the Directory Utility to add an LDAP server to Directory Services for authentication and contact lookups. The overall process consists of: -Manually configuring a machine to read from the LDAP server using the Directory Utility -Creating a package of the file: /Library/Preferences/DirectoryService/DSLDAPv3PlugInConfig.plist -Modifying this script to contain the server address -Deploying the package, and running the script on a targeted client machine

Download

Preview

Generating Preview...

1474 Downloads
Uploaded: 11/5/11 at 7:48 PM by jake
Product: Mac OS X