Skip to main content
Jamf Nation, hosted by Jamf, is a knowledgeable community of Apple-focused admins and Jamf users. If you like what you see, join us in person at the ninth annual Jamf Nation User Conference (JNUC) this October for three days of learning, laughter and IT love.
Posted: by jake
Product: Mac OS X
Downloads: 1553
Download

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

Preview

Generating Preview...