Skip to content

Instantly share code, notes, and snippets.

View mmitchel's full-sized avatar

Michael Mitchell mmitchel

View GitHub Profile
@mmitchel
mmitchel / gist:7379367
Created November 8, 2013 23:36
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