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