mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
improved detecting fails and errors.
This commit is contained in:
parent
c1ca9665cc
commit
69873de6ac
@ -1278,6 +1278,7 @@ echo "${NUMBER}your BASE will be the area you will search in${END}"
|
||||
sleep 3
|
||||
if [ "$ldaptools" = dap-uti ]
|
||||
then
|
||||
clear
|
||||
echo "ldap tool installed.. trying to find this host"
|
||||
sudo ldapsearch -x cn="$myhost'*'"
|
||||
echo "Please type what you are looking for"
|
||||
@ -1285,6 +1286,7 @@ read -r own
|
||||
sudo ldapsearch -x | grep -i "$own"
|
||||
exit
|
||||
else
|
||||
clear
|
||||
sudo apt-get install ldap-utils -y
|
||||
echo "${NUMBER}please edit in ldap.conf the lines BASE and URI ${END}"
|
||||
sleep 3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user