From: Murugan K G <mur...@ya...> - 2002-06-06 13:32:35
|
Hi Thanks for your comment. Basically i wanted to create a new partition using Net::LDAP::Extension in eDirectory ################################################## The requestValue has the following format: requestValue ::= flags INTEGER dn LDAPDN ##################################################### I am getting "could not decode LDAP extension packet" error message when i used the following encoding procedure. Is it the rights way to encode the message for the above mentioned extension?. I am sure about the OID. Thanks in advance. $asn = Convert::ASN1->new; $asn->prepare(q< [APPLICATION 23] SEQUENCE { flags INTEGER, dn OCTET STRING }>); $pdu = $asn->encode( flags => 0, dn => "ou=test,o=cdac"); $mesg->encode ( extendedReq =>{ requestName => '2.16.840.1.113719.1.27.100.3', requestValue => $pdu } )or die "Not able to encode the extended values\n"; __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |