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
080041cb77
commit
b9919a1abd
@ -709,6 +709,8 @@ ldaplook(){
|
|||||||
export HOSTNAME
|
export HOSTNAME
|
||||||
myhost=$( hostname )
|
myhost=$( hostname )
|
||||||
ldaptools=$( sudo dpkg -l | grep -i ldap-utils | cut -d 's' -f1 | cut -d 'l' -f2 )
|
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 ]
|
if [ "$ldaptools" = dap-uti ]
|
||||||
then
|
then
|
||||||
echo "ldap tool installed.. verifying setup"
|
echo "ldap tool installed.. verifying setup"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user