48 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

 Active directory connection tool 
 Created by Pierre Goude 
 This script will edit several critical files.. 
 DO NOT attempt this without expert knowledge 
 
* 1) Join to AD on Linux (Ubuntu/Rasbian) 
* 2) Join to AD on Debian Jessie Client 
* 3) Join to AD on CentOS 
* 4) Check for errors 
* 5) Search with ldap 
* 6) Reauthenticate (Ubuntu14 only) 
* 7) Update from Likewise to Realmd for Ubuntu 14 
* 8) Leave Domain 
 
Please enter a menu option and enter or enter to exit. 
Installing 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.
Installing pakages do no abort!.......
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
ii realmd 0.16.2-2 amd64 DBus service for configuring kerberos and other online identities
Pakages installed
hostname is sewspierre
Looking for Realms.. please wait
I searched for an available domain and found >>> TOBII.INTRA <<<
Do you wish to use it (y/n)?
No LSB modules are available.
Detecting Ubuntu 16
Realm=TOBII.INTRA
Joining Ubuntu 16
Please log in with domain admin to TOBII.INTRA to connect
Please type Admin user:
* 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
AD join failed.please check that computer object is already created and test again