Added flag options see: sudo sh ADconnection.sh --help

This commit is contained in:
root 2018-05-18 15:14:11 +02:00
parent ec715d55b7
commit 8fec01a190

View File

@ -1,3 +1,19 @@
 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.
@ -23,9 +39,9 @@ Do you wish to use it (y/n)?
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.46.10.23
* Performing LDAP DSE lookup on: fd93:27e0:59ca:10:4cc6:9e6e:2cc6:8d18
* Performing LDAP DSE lookup on: fd93:27e0:59ca:10::23
* 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