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