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.

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...

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