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
69873de6ac
commit
1110158da6
@ -1280,7 +1280,7 @@ if [ "$ldaptools" = dap-uti ]
|
|||||||
then
|
then
|
||||||
clear
|
clear
|
||||||
echo "ldap tool installed.. trying to find this host"
|
echo "ldap tool installed.. trying to find this host"
|
||||||
sudo ldapsearch -x cn="$myhost'*'"
|
sudo ldapsearch -x cn="$myhost"
|
||||||
echo "Please type what you are looking for"
|
echo "Please type what you are looking for"
|
||||||
read -r own
|
read -r own
|
||||||
sudo ldapsearch -x | grep -i "$own"
|
sudo ldapsearch -x | grep -i "$own"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user