8000
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 3711a6a commit 9950722Copy full SHA for 9950722
src/Symfony/Component/Ldap/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