summaryrefslogtreecommitdiff
path: root/ext/ldap/tests/ldap_set_option_reqcert_error.phpt
blob: 1a7796b760448e000a48ffee6ee1bdc658455c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
--CREDITS--
Edwin Hoksberg <edwin@edwinhoksberg.nl>
--SKIPIF--
<?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
--FILE--
<?php
require "connect.inc";
$link = ldap_connect($host, $port);
$result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001);
var_dump($result);
?>
===DONE===
--EXPECT--
bool(false)
===DONE===