title: OpenLdap won't retrieve the userpassword
body: <p>My problem is that when i try to retrieve the value of the attribute 'userPassword' it won't work i'm working under PHP , the problem is that the attribute exist when i open Phpldapadmin i can see it , but when i try to retrieve it using this lines of code it won't work </p>
  
  <pre><code>$sr = ldap_search($ds,"ou=people,dc=powerm,dc=com","uid=".$login);
  $data = ldap_get_entries($ds,$sr);
  $password = $data[0]["userpassword"][0];
  
  $displayName = $data[0]["displayname"][0];
  $num_tel =$data[0]["mobile"][0];
  $mail =$data[0]["mail"][0]
  </code></pre>
  
  <p>the others attributes work fine expect the userpassword</p>
  
  <p>can any one help ? </p>
  
  <p>thanks.</p>