Home > Backend Development > PHP Tutorial > php-ldap_search总是返回flase ,ldap_search运用是否正确?

php-ldap_search总是返回flase ,ldap_search运用是否正确?

WBOY
Release: 2016-06-02 11:33:41
Original
1391 people have browsed it

ldapphp

//根节点
$base_dn = "dc=envisioncn,dc=com";

//执行查询
$result = ldap_search($ldap_conn, $base_dn,"(objectClass=user)");

var_dump($result);

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template