Annotation of embedaddon/php/ext/ldap/tests/ldap_bind_variation.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: ldap_bind() - Advanced binding
! 3: --CREDITS--
! 4: Patrick Allaert <patrickallaert@php.net>
! 5: # Belgian PHP Testfest 2009
! 6: --SKIPIF--
! 7: <?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
! 8: <?php require_once dirname(__FILE__) .'/skipifbindfailure.inc'; ?>
! 9: --FILE--
! 10: <?php
! 11: require "connect.inc";
! 12:
! 13: $link = ldap_connect($host, $port);
! 14: ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
! 15: var_dump(ldap_bind($link, $user, $passwd));
! 16: ?>
! 17: ===DONE===
! 18: --EXPECT--
! 19: bool(true)
! 20: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>