sounds like you've set your scope incorrectly.
$mesg =
$ldap->search(
base=> "ou=people,dc=acme,dc=com",
scope => "sub",
filter => "objectclass=person"
);
should do it.
Note that unless you've got a very small number of people, you'll need to either
be binded as the directory super-user account or use a virtual list view to see
all of them.
Mark
"Lambright, Linda (N-Averstar)" wrote:
> I have created several users in the People organizational unit. I am trying
> to find out how to get a list of all of those uid's. However if I ask for
> ou=People all I get is the entry for the ou People. Can anyone help me with
> this? Even when I use the server console to do the search it comes up with
> no entries. However the ldif file clearly shows all of the users with
> ou=People. I guess I don't clealy understand the concept of the
> organizational unit object.
>
> Linda Lambright
|