Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-05-22 13:33:21 +02:00 committed by GitHub
parent 7454f02621
commit 8c88372cc1

View File

@ -268,6 +268,11 @@ echo "override_homedir = /home/%d/%u" >> /etc/sssd/sssd.conf
eof eof
} }
CentOS(){
# Not ready
}
############################### Update to Realmd from likewise ################## ############################### Update to Realmd from likewise ##################
Realmdupdate(){ Realmdupdate(){
export HOSTNAME export HOSTNAME
@ -470,10 +475,11 @@ clear
echo "${MENU}*${NUMBER} 1)${MENU} Setup AD on Ubuntu Client ${NORMAL}" echo "${MENU}*${NUMBER} 1)${MENU} Setup AD on Ubuntu Client ${NORMAL}"
echo "${MENU}*${NUMBER} 2)${MENU} Setup AD on Ubuntu 14 Server ${NORMAL}" echo "${MENU}*${NUMBER} 2)${MENU} Setup AD on Ubuntu 14 Server ${NORMAL}"
echo "${MENU}*${NUMBER} 3)${MENU} Setup AD on Debian Jessie Client ${NORMAL}" echo "${MENU}*${NUMBER} 3)${MENU} Setup AD on Debian Jessie Client ${NORMAL}"
echo "${MENU}*${NUMBER} 4)${MENU} Check for errors ${NORMAL}" echo "${MENU}*${NUMBER} 4)${MENU} Setup AD on Debian CentoOS ${NORMAL}"
echo "${MENU}*${NUMBER} 5)${MENU} Reauthenticate (Ubuntu14 only) ${NORMAL}" echo "${MENU}*${NUMBER} 5)${MENU} Check for errors ${NORMAL}"
echo "${MENU}*${NUMBER} 6)${MENU} Update from Likewise to Realmd for Ubuntu 14 ${NORMAL}" echo "${MENU}*${NUMBER} 6)${MENU} Reauthenticate (Ubuntu14 only) ${NORMAL}"
echo "${MENU}*${NUMBER} 7)${MENU} README with examples ${NORMAL}" echo "${MENU}*${NUMBER} 7)${MENU} Update from Likewise to Realmd for Ubuntu 14 ${NORMAL}"
echo "${MENU}*${NUMBER} 8)${MENU} README with examples ${NORMAL}"
echo "${NORMAL} ${NORMAL}" echo "${NORMAL} ${NORMAL}"
echo "${ENTER_LINE}Please enter a menu option and enter or ${RED_TEXT}enter to exit. ${NORMAL}" echo "${ENTER_LINE}Please enter a menu option and enter or ${RED_TEXT}enter to exit. ${NORMAL}"
read opt read opt
@ -498,22 +504,27 @@ while [ opt != '' ]
debianclient debianclient
;; ;;
4) clear; 4) clear;
echo "Installing on Debian Cent OS"
CentoOS
;;
5) clear;
echo "Check for errors" echo "Check for errors"
failcheck failcheck
;; ;;
5) clear; 6) clear;
echo "Reauthenticate realmd for Ubuntu 14" echo "Reauthenticate realmd for Ubuntu 14"
Reauthenticate14 Reauthenticate14
;; ;;
6) clear; 7) clear;
echo "Update from Likewise to Realmd" echo "Update from Likewise to Realmd"
Realmdupdate Realmdupdate
;; ;;
7) clear; 8) clear;
echo "READ ME" echo "READ ME"
readmes readmes
;; ;;