[turba] ldap browse returns non-people

Chuck Hagenbuch chuck@horde.org
Thu Oct 24 18:28:04 2002


Quoting Andy Rowan <rowan@crssa.rutgers.edu>:

> So my question is what do I need to do to have it just return the records
> for people?  The "objectclass" setting in sources.php seems to only
> affect adding new records, because the browse is asking openldap for
> objectclass=*.  Can I have it only ask for objectclass=person?  Do I want
> to do that?

In the ldap params section of sources.php, you can set:
    'filter' => 'objectclass=person'

or whatever you want to filter it by.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers