Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails

This commit is contained in:
Anatoliy Belsky 2012-04-16 15:20:03 +02:00
parent 4fa1743009
commit 47e7755785

View File

@ -6,6 +6,13 @@ Patrick Allaert <patrickallaert@php.net>
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php if (!function_exists("ldap_sasl_bind")) die("skip LDAP extension not compiled with SASL support"); ?>
<?php
require "connect.inc";
$link = fsockopen($host, $port);
if (!$link) {
die("skip no server listening");
}
?>
--FILE--
<?php
require "connect.inc";