mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
48 lines
2.2 KiB
Plaintext
48 lines
2.2 KiB
Plaintext
[H[J[32m Active directory connection tool [32m
|
||
[32m Created by Pierre Goude [32m
|
||
[32m This script will edit several critical files.. [32m
|
||
[32m DO NOT attempt this without expert knowledge [32m
|
||
[m [m
|
||
[36m*[33m 1)[36m Join to AD on Linux (Ubuntu/Rasbian) [m
|
||
[36m*[33m 2)[36m Join to AD on Debian Jessie Client [m
|
||
[36m*[33m 3)[36m Join to AD on CentOS [m
|
||
[36m*[33m 4)[36m Check for errors [m
|
||
[36m*[33m 5)[36m Search with ldap [m
|
||
[36m*[33m 6)[36m Reauthenticate (Ubuntu14 only) [m
|
||
[36m*[33m 7)[36m Update from Likewise to Realmd for Ubuntu 14 [m
|
||
[36m*[33m 8)[36m Leave Domain [m
|
||
[m [m
|
||
Please enter a menu option and enter or [31menter to exit. [m
|
||
[H[JInstalling on Ubuntu Client/Server
|
||
|
||
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
||
|
||
No LSB modules are available.
|
||
No LSB modules are available.
|
||
|
||
[H[J[31mInstalling pakages do no abort!.......[32m
|
||
Reading package lists...
|
||
Building dependency tree...
|
||
Reading state information...
|
||
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
|
||
[H[Jii realmd 0.16.2-2 amd64 DBus service for configuring kerberos and other online identities
|
||
[H[J[32mPakages installed[0m
|
||
hostname is sewspierre
|
||
Looking for Realms.. please wait
|
||
[H[J[33mI searched for an available domain and found [36m>>> TOBII.INTRA <<<[0m[0m
|
||
Do you wish to use it (y/n)?
|
||
[H[JNo LSB modules are available.
|
||
[32mDetecting Ubuntu 16[0m
|
||
[H[J[32mRealm=TOBII.INTRA[32m
|
||
[32mJoining Ubuntu 16[0m
|
||
|
||
[32mPlease log in with domain admin to TOBII.INTRA to connect[0m
|
||
[32mPlease type Admin user:[0m
|
||
* Resolving: _ldap._tcp.tobii.intra
|
||
* Performing LDAP DSE lookup on: 10.2.10.191
|
||
* Performing LDAP DSE lookup on: 10.46.10.70
|
||
* Performing LDAP DSE lookup on: fd93:27e0:59ca:10::70
|
||
* Successfully discovered: tobii.intra
|
||
realm: Already joined to this domain
|
||
[31mAD join failed.please check that computer object is already created and test again [0m
|