From: Chris R. <chr...@me...> - 2001-04-23 12:35:40
|
Roland Stigge <rol...@ep...> wrote: > Hi! > > Graham Barr wrote: >> Ah, OK. Try this patch to Net::LDAP::Search > > OK, let's see... > > this code: > ----- > @referrals = $mesg->referrals; > foreach $ref (@referrals) { > print "Referral: ",$ref,"\n"; > } > > @references = $mesg->references; > foreach $ref (@references) { > print "Reference: ",$ref,"\n"; > } > ----- > > produces: > ----- > Reference: ldap://deledda/c=us,o=epigenomics > ----- > > So what's the difference between reference and referral? A referral is returned when the *entire* operation must be resent to another server. A continuation reference is returned when *part* of the operation must be resent to another server. Cheers, Chris |