ldap_connect() is confusing

So why is this code returning “Success” no matter what? // LDAP variables $ldaphost = “sdfsdfs”; $ldapport = ‘389’; // Connecting to LDAP if (ldap_connect($ldaphost, $ldapport)){ echo ‘Success’; } else { echo ‘Failure’; } From … Read more