[Date Prev][Date Next]
Meta backend finds results but also returns '32 No such object'
- To: openldap-software@OpenLDAP.org
- Subject: Meta backend finds results but also returns '32 No such object'
- From: Paul Boven <firstname.lastname@example.org>
- Date: Wed, 07 Dec 2005 14:51:32 +0100
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
While trying to make the meta backend talk to a backend LDAP server, I
get the following curious result:
$ ldapsearch -h localhost -D "xxx" -b "dc=example,dc=com" -x -W "(sn=boven)"
# search result
result: 32 No such object
# numResponses: 2
# numEntries: 1
The LDAP proxy properly returns the requested record, but also returns a
'no such object'. If I query the LDAP server in question directly, I get
the same data returned, but with a result code of 0 (success). I wonder
if anyone can help me understand why the proxy is returning an error
message? I've looked at the traffic between proxy (OpenLDAP) and backend
LDAP server (SunOne) and it is properly proxying that one ldap-search,
without doing any other requests.
Version information: OpenLDAP 2.2.13-4 (current RH4 AS package).
Backend LDAP server is a SunOne 5.2 Directory server.
(Yes, for the example above I don't yet need the meta backend but it
will talk to several LDAP servers later on).
Regards, Paul Boven.