php-ldap_search总是返回flase ,ldap_search运用是否正确?
程序员文章站
2022-05-15 12:13:41
...
ldapphp
//根节点
$base_dn = "dc=envisioncn,dc=com";
//执行查询
$result = ldap_search($ldap_conn, $base_dn,"(objectClass=user)");
var_dump($result);