ldap - php ldap_search(): Search: Operations error -


i try connect ldap in php code :

$ds = ldap_connect("122.134.124.2", 389); $login = "login@domain.local"; $password = "password";  if ($ds)  {     $r = ldap_bind($ds, $login, $password);     $sr = ldap_search($ds, "dc=domain,dc=local", "cn=m*");     } else     echo "impossible connect ldap server."; 

and error : ldap_search(): search: operations error in test.php on line 8 (the line ldap_search function).

yet connection works , put parameters of function ldap_search.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -