[Date Prev][Date Next] [Chronological] [Thread] [Top]

following referrals by proxy produced error




I use openldap 2.0.7 on OpenLinux 2.3 as ldap proxy.

I submit a search query with base specified as "dc=top,dc=com"
to the proxy which in turn query the real directory "dc=top,dc=com".
However, the real directory "dc=top,dc=com" contains a referral to
"dc=next,dc=top,dc=com", the proxy follows it and seach the referred
directory. However, the proxy still submits the search query with base
"dc=top,dc=com" to the sub-directory "dc=next,dc=top,dc=com" and
get result 32: No such object.

Then the proxy returns some data entries obtained from the
top driectory plus the Result 32 and my LDAP client (Outlook)
just reports no entries match my search criteria.

I tried to submit a search without base to the proxy which has
the defaultsearchbase "dc=top,dc=com", the same happens.

If I remove the defaultsearchbase from the proxy and submit
a query without searchbase, the proxy immediately responses
with result 32.

How this dilemma can be solved? Can I ask the proxy not to
follow referrals or ask the proxy to change the searchbase
when following referrals?

Regards,
Philip



______________________________________________________________________

This message is intended only for use of the addressee and may  contain
information that is privileged and confidential. If you are not the intended
recipient, you are hereby notified that any use or dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by reply and delete this message from your
system.