[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_search: Partial results and referral received (ITS#288)
Thanks for your reply. I ran slapd on the server in debug
mode. Seems that my SRCH field was empty.
The SRCH field should be:
-------------------------
SRCH "o=Integrated Device Technology,c=US" 2 3 10 0 0
I didn't have a comma in my BASE field in the
/usr/local/etc/openldap/ldap.conf BASE field.
BASE o=Integrated Device Technology, c=US
^
>From My System kanako:
----------------------
# ldapsearch -h miles "cn=Mariano Apilado" cn uid
ldap_search: Partial results and referral received
On the LDAP server miles:
-------------------------
do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
do_search
SRCH "" 2 0 0 0 0
filter: (cn=MARIANO APILADO)
attrs: cn uid
send_ldap_result 9::
do_unbind
do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
do_search
SRCH "" 2 0 0 0 0
filter: (cn=MARIANO APILADO)
attrs: cn uid
send_ldap_result 9::
do_unbind
Thanks,
Mariano
On Tue, 14 Sep 1999, Kurt D. Zeilenga wrote:
> Date: Tue, 14 Sep 1999 17:04:47 -0700
> From: Kurt D. Zeilenga <Kurt@OpenLDAP.Org>
> To: mapilado@idt.com
> Cc: openldap-its@OpenLDAP.Org
> Subject: Re: ldap_search: Partial results and referral received (ITS#288)
>
> OpenLDAP 1.2 slapd will return a partial results error code during
> search operations in one of the following two cases.
> 1) the search base is not held by server and a default
> referral is set.
> (slapd/search.c)
>
> 2) the search base is held by the server and one or
> references are to be returned.
> (slapd/back-ldbm/search.c)
>
> If "referral" is not specified in slapd.conf(8), case 1 should
> return noSuchObject. Case 2 is based solely on database
> entries. Do you have any entries with DN that start with
> "ref="?
>
> I recommend running slapd with some debugging (-d 5) enabled.
> You should be able to see if which case is occurring based
> upon log output. If the result is sent without enterring the
> backend, it's case 1. Otherwise case 2.
>
> You might also try specifying the -R option ldapsearch to
> disable any referral chasing.
>
> Kurt
>
>
>
--
--------------------------------
Mariano Apilado
Senior Unix System Administrator
Integrated Device Technology
Office: (408)492-8241
Pager: 1-888-428-3148
--------------------------------