[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ber encoding
- To: OpenLDAP-software@OpenLDAP.org
- Subject: ber encoding
- From: Rahul S <srahul@gmail.com>
- Date: Sat, 11 Feb 2006 12:13:10 +0530
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VaJiIri96/tc2EeAMZEo9XSF8tMSVIi8YT/84EdRjIN5ls5R8uodEXjUe3oCzuoe5zWNnUHwl9bwjevvr4gqcXMjM3NdkvbaF9P3cSvaY4XLVIG33aBuR7oowT1DJBYdzyjOgwl58rL98ltZTOnoLco1YJAKJTWA34X8hUuyDOY=
Hi,
I am writing a program using openldap client libraries. I want to
send a server control in ldap_search. Since, the control is not
supported by openldap, the client library does not have a function for
creating the control. I am trying to create the 'LDAPControl'
structure myself. The 'ldctl_value' member is of type 'struct berval'.
I want to populate this as per the specification in the control's
internet draft. I can encode using 'ber_printf'. This puts the info in
a 'BerElement' structure. How can I convert this to 'struct berval' ?
Regards,
-Rahul S.