Skip to content

Instantly share code, notes, and snippets.

@tuxudo
tuxudo / AD_Bind.sh
Created June 13, 2016 15:22
Script used to bind Macs to AD. Copied from DeployStudio 1.7.2
#!/bin/sh
# This script shamelessly copied and edited from DeployStudio 1.7.2
# Original here: https://github.com/timsutton/DeployStudioDiffs/blob/c96f9a6244e68a7fb7af432ad47cc39d91b444b6/Packages/Admin/DeployStudio%20Admin.app/Contents/Plugins/DSADBindingTask.bundle/Contents/Resources/Scripts/ds_active_directory_binding/ds_active_directory_binding.10.7.sh
# disable history characters
histchars=
#
# functions