1--TEST--
2ldap_bind() - Advanced binding
3--CREDITS--
4Patrick Allaert <patrickallaert@php.net>
5# Belgian PHP Testfest 2009
6--SKIPIF--
7<?php require_once __DIR__ .'/skipif.inc'; ?>
8<?php require_once __DIR__ .'/skipifbindfailure.inc'; ?>
9--FILE--
10<?php
11require "connect.inc";
12
13$link = ldap_connect($host, $port);
14ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
15var_dump(ldap_bind($link, $user, $passwd));
16?>
17--EXPECT--
18bool(true)
19