Created
November 8, 2013 23:36
-
-
Save mmitchel/7379367 to your computer and use it in GitHub Desktop.
Bind Macs to Server via Command Line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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