We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ldap_connect()
1 parent 8436f08 commit eac4fa0Copy full SHA for eac4fa0
Tests/Adapter/ExtLdap/AdapterTest.php
@@ -39,7 +39,7 @@ public function testLdapEscape()
39
*/
40
public function testSaslBind()
41
{
42
- $h = @ldap_connect(getenv('LDAP_HOST'), getenv('LDAP_PORT'));
+ $h = @ldap_connect('ldap://'.getenv('LDAP_HOST').':'.getenv('LDAP_PORT'));
43
@ldap_set_option($h, \LDAP_OPT_PROTOCOL_VERSION, 3);
44
45
if (!$h || !@ldap_bind($h)) {
0 commit comments