--On Tuesday, August 29, 2006 4:00 PM -0700 Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote:

Now of course, I'm getting decoding error messages from the server.
sigh.

This seems to be because the Net::LDAP::Control is not storing the value
for "value" correctly.  It should be an integer 1, or at least a boolean.
TRUE doesn't work any better.


Okay, the problem seems to be because the value for "value" is not getting ASN.1 encoded. I see the pre-defined controls have things like:

sub value {
 my $self = shift;

 $self->{value} = $SortResult->encode($self->{asn});
}


So, how is one supposed to encode the value for non-predefined controls?

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Reply via email to