From: Jason Wold Date: 2004-11-06T10:30:41+09:00 Subject: Re: using LDAP Controls in ruby-ldap On Fri, 5 Nov 2004 02:21:01 +0900, Will Drewry wrote: > On Thu, 4 Nov 2004 14:26:33 +0900, Jason Wold wrote: > > > You could try something like this > a = OpenSSL::ASN1::Sequence.new([OpenSSL::ASN1::Integer.new('10'), > OpenSSL::ASN1::OctetString.new('')]) > > control.value = a.to_der > '10' needs to be just the integer 10, and then it works.