I am trying to pull information LDAP information from my linux box. I can get the count number of my search but I want to pull all information from the query. I am new to ldap and need a little help. Here is my code:
Thanks,
Timgerr
-How important does a person have to be before they are considered assissinated instead of just murdered?
Code:
$ldaphost = "AAA.BBB.com"; // your ldap servers
$ldapport = 389;
$ds = ldap_connect( $ldaphost, $ldapport ) or die( "Could not connect to {$ldaphost}" );
$dn = ("ou=people, ou=intranet, dc=Somthing, dc=com");
$filter="(uid=Username)";
$sr=ldap_search($ds, $dn, $filter);
$info = ldap_get_entries($ds, $sr);
print $info[0]["dn"] . "stuff<BR>";
print $info["count"]." entries returned<p>";
Thanks,
Timgerr
-How important does a person have to be before they are considered assissinated instead of just murdered?