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

RE: Infinite chasing of cycled V3 referrals/references (ITS#2894)



> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of alex_dz@softhome.net

> I hoped that replacement of 'origreq' parameter by 'lr' in the
> ldap_send_server_request() function would help, but this
> change made the library
> unable to chase a sequence of references,e.g.
> 'entry1-ref--->entry2-ref--->entry3', so I was wrong :(

I haven't looked at this in depth, but probably this should do something like

   ldap_send_server_request( ld, ber, id,
	sref ? origreq : lr, srv, NULL, &rinfo );

Try that and see if it works any better...

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support