[turba] ldap browse returns non-people
Andy Rowan
rowan@crssa.rutgers.edu
Thu Oct 24 02:21:24 2002
Hi,
I've been setting up imp and turba, and it's going pretty well ... but I
have a question. I have an openldap server running on the same machine,
and turba is set up to connect to it. When I browse, the list I get back
includes (along with the records for people) records that I think must be
the ones for the other object classes in the database ... the organization,
and the admin user, and so forth. They show up in turba as empty
records. (Because they don't have attributes of the kind turba is asking for.)
My root in sources.php started out as "dc=mydomain,dc=org" and I was
getting back three of these empty records in the browse results. Then I
changed the root to "ou=staff,dc=mydomain,dc=org", because that's how the
person records have their DN's done ... and now I am only getting back one
empty record. I assume that is the one that actually defines the ou.
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?
turba is connecting as the openldap root user. Is that the reason? (I
wanted to make another user, but the LDAP syntax has got me kind of
baffled. I got the user in there, but then turba couldn't get any results
as that user.)
System info:
redhat 7.2
openldap 2
horde 2.1-3
imp 3.1-2
turba 1.1-2
apache 1.3.22
Thanks for any help. (This is pretty amazing stuff!)
-Andy