mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
2ebfb4a2d9
commit
7235f7227d
@ -715,8 +715,8 @@ echo "${NUMBER}Remember!you must be logged in with AD admin on the client/server
|
|||||||
sleep 3
|
sleep 3
|
||||||
if [ "$ldaptools" = dap-uti ]
|
if [ "$ldaptools" = dap-uti ]
|
||||||
then
|
then
|
||||||
echo "ldap tool installed.. verifying setup"
|
echo "ldap tool installed.. trying to find this host"
|
||||||
sudo ldapsearch | grep -i $myhost
|
sudo ldapsearch cn=$myhost'*'
|
||||||
echo "Please type what you are looking for"
|
echo "Please type what you are looking for"
|
||||||
read own
|
read own
|
||||||
sudo ldapsearch | grep -i $own
|
sudo ldapsearch | grep -i $own
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user