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

Problem chasing multiple referrals (ITS#799)



Full_Name: Stig Venaas
Version: 2.0.4
OS: Linux
URL: 
Submission from: (NULL) (158.38.60.92)


If I do

ldapsearch -h sipus.uninett.no -b "dc=hisf,dc=no" "cn=Stig*"

I get two referrals, when following those and turning on debugging

ldapsearch -C -d65535 -h sipus.uninett.no -b "dc=hisf,dc=no" "cn=Stig*"

ldapsearch will hang, ending with:

** Outstanding Requests:
 * msgid 5,  origid 2, status Request Completed
   outstanding referrals 0, parent count 1
 * msgid 2,  origid 2, status Request Completed
   outstanding referrals 1, parent count 0
** Response Queue:
 * msgid 2,  type 100
   chained responses:
  * msgid 2,  type 100
  * msgid 2,  type 100
  * msgid 2,  type 100
  * msgid 2,  type 100
  * msgid 2,  type 100
 * msgid 4,  type 97
do_ldap_select

It looks like it got all the data it should, it just hasn't realised it. The
LDAP servers are publicly available so you can hopefully reproduce this. I can
try to debug more myself but some pointers would be nice, the code isn't
trivial.

Stig