Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-22 10:06:58 +02:00 committed by GitHub
parent dfa3a49f90
commit c1564815f0

View File

@ -708,7 +708,7 @@ exit
ldaplook(){
export 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 )
if [ $ldaptools = dap-uti ]
then
echo "ldap tool installed.. verifying setup"