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
080041cb77
commit
b9919a1abd
@ -709,6 +709,8 @@ ldaplook(){
|
||||
export HOSTNAME
|
||||
myhost=$( hostname )
|
||||
ldaptools=$( sudo dpkg -l | grep -i ldap-utils | cut -d 's' -f1 | cut -d 'l' -f2 )
|
||||
echo "${NUMBER}You must be logged in with AD admin on the client/server to use this funktion${END}"
|
||||
sleep 3
|
||||
if [ "$ldaptools" = dap-uti ]
|
||||
then
|
||||
echo "ldap tool installed.. verifying setup"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user