mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
b9919a1abd
commit
70a50b74e2
@ -714,13 +714,17 @@ sleep 3
|
||||
if [ "$ldaptools" = dap-uti ]
|
||||
then
|
||||
echo "ldap tool installed.. verifying setup"
|
||||
read own
|
||||
sudo ldapsearch | grep -i $myhost
|
||||
sudo ldapsearch | grep -i $own
|
||||
exit
|
||||
else
|
||||
sudo apt-get install ldap-utils -y
|
||||
echo "${NUMBER}please edit in ldap.conf the lines BASE and URI ${END}"
|
||||
sleep 3
|
||||
sudo nano /etc/ldap/ldap.conf
|
||||
sudo ldapsearch | grep -i $myhost
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user