Skip to content

Instantly share code, notes, and snippets.

@mmitchel
Created November 8, 2013 23:36
Show Gist options
  • Save mmitchel/7379367 to your computer and use it in GitHub Desktop.
Save mmitchel/7379367 to your computer and use it in GitHub Desktop.
Bind Macs to Server via Command Line
Bind to server.domain.com using "server_name" as connection note:
$ sudo dsconfigldap -s -a server.domain.com -n “server_name”
Verification of binding:
$ sudo dscl localhost -list /LDAPv3
Unbind from server:
$ sudo dsconfigldap -s -r server.domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment