From: Graham B. <gb...@po...> - 2002-06-10 12:39:31
|
You do not need to decode this yourself. All you need are the ->response and ->response_name methods on the object returned by $ldap->extension Graham. On Mon, Jun 10, 2002 at 05:36:59AM -0700, Murugan K G wrote: > Hi > Thanks for your previous response. I have one more > problem while decoding the message returned from the > LDAP server.Is application [] tag is required while > decoding the response as mentioned below. Any help? > > > ##### decoding part ########### > $asn = Convert::ASN1->new; > $asn->prepare(q< > [APPLICATION 24] SEQUENCE { > responseName OCTET STRING, > identity OCTET STRING > } > ); > $out = $asn->decode($response); # which is > #returned by send message > print "The identity value is ". > $out->{identity}; > print "The response Value is". > $out->{responseName}; > > Regards > K.Murugan > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com |