Added the $LDAP_CONN_TYPE variable as argument

Missing LDAP_CONN_TYPE variable denoting the connection protocol was
missing and causing the ldapsearch to fail. This issue has been
rectified with the addition of the missing argument.