From: Clif H. <cl...@di...> - 2000-10-18 13:12:54
|
> > Graham Barr <gb...@po...> wrote: > > On Tue, Oct 17, 2000 at 05:27:49PM -0700, Robbie Allen wrote: > >> Can Net::LDAP automatically chase referrals? Sample code? > > > > Not yet. Currently you have to follow them yourself. You can > > get them with > > > > $mesg = $ldap->search( ... ); > > @referrals = $mesg->referrals; > > > > Graham. > > I'm not sure Net::LDAP should ever automatically follow referrals - not > knowing what authentication to use is a pretty major problem. Deciding > which one to follow if there are several for the same point is another > (equally critical in some environments) problem. > > Referral following is something that needs to be addressed in the > application (eg GUI) rather than down at the API level. IMHO of course. > > Cheers, > > Chris > I agree with Chris on this issue. Chasing referrals should be left up to the application that initiated the ldap action. Regards, Clif Harden INTERNET: c-h...@ti... |