-
-
Save cybertk/01e0fce074e9ed58edb4 to your computer and use it in GitHub Desktop.
Revisions
-
bzerangue revised this gist
Oct 8, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,7 @@ _Note: `<username>` needs to be replaced with domain administrator who has bindi `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. > dsconfigad -a \<computer-name> -u \<username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain \<domain> -mobile enable -mobileconfirm enable -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable * * * @@ -31,4 +31,4 @@ _Note: `<username>` needs to be replaced with domain administrator who has bindi `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. > dsconfigad -a \<computer-name> -u \<username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain \<domain> -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable -
bzerangue revised this gist
Oct 8, 2013 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,10 @@ - Open the Terminal Application - Type in `sudo -i` and type in your Mac Administrator account password. `sudo` gives you root level or administrator level privileges. #### To View current Active Directory Settings > dsconfigad -show #### To Unbind a Computer from an Active Directory Domain > dsconfigad -f -r -u <username> -
bzerangue revised this gist
Oct 8, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ #### To Unbind a Computer from an Active Directory Domain > dsconfigad -f -r -u <username> _Note: `<username>` needs to be replaced with domain administrator who has binding/unbinding rights._ -
bzerangue revised this gist
Oct 8, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ #### To Unbind a Computer from an Active Directory Domain > dsconfigad -f -r -u <username>` _Note: `<username>` needs to be replaced with domain administrator who has binding/unbinding rights._ @@ -17,7 +17,7 @@ _Note: `<username>` needs to be replaced with domain administrator who has bindi `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. > dsconfigad -a <computer-name> -u <username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain <domain> -mobile enable -mobileconfirm enable -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable * * * @@ -27,4 +27,4 @@ _Note: `<username>` needs to be replaced with domain administrator who has bindi `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. > dsconfigad -a <computer-name> -u <username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain <domain> -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable -
bzerangue revised this gist
Oct 8, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ _Note: `<username>` needs to be replaced with domain administrator who has bindi `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. > `dsconfigad -a <computer-name> -u <username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain <domain> -mobile enable -mobileconfirm enable -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable` * * * -
bzerangue created this gist
Oct 8, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ # Binding and Unbinding to Active Directory from Mac OS via Command Line - Open the Terminal Application - Type in `sudo -i` and type in your Mac Administrator account password. `sudo` gives you root level or administrator level privileges. #### To Unbind a Computer from an Active Directory Domain `dsconfigad -f -r -u <username>` _Note: `<username>` needs to be replaced with domain administrator who has binding/unbinding rights._ * * * #### To Bind a Mac Laptop Computer to an Active Directory Domain `<computer-name>` --> replace this with the computer name you want to bind to Active Directory `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. `dsconfigad -a <computer-name> -u <username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain <domain> -mobile enable -mobileconfirm enable -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable` * * * #### To Bind a Mac Desktop Computer to an Active Directory Domain `<computer-name>` --> replace this with the computer name you want to bind to Active Directory `<username>` --> needs to be replaced with domain administrator who has binding/unbinding rights. `<domain>` --> replace with domain you want to join. `dsconfigad -a <computer-name> -u <username> -ou "CN=Computers,DC=network,DC=pcpc,DC=org" -domain <domain> -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable`