[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/clients/tools common.c



On Mon, 2006-01-09 at 15:19 -0800, Kurt D. Zeilenga wrote:
> +               if ( ber_printf( ber, "s", proxydn ) == LBER_ERROR ) {
> +                       exit( EXIT_FAILURE );
> +               }
> 
> I note that Mozilla encodes this using "{s}", that is,
> the value wasn't just a BER-encoded LDAPDN, but a
> BER-encoded SEQUENCE { LDAPDN }.

Thanks.  I'll start playing with the current code, keeping your note in
mind, to figure out how to make this as portable as possible.  I've
already worked out that some Sun API encodes 2.16.840.1.113730.3.4.18 as
"s", but I have yet no idea about 2.16.840.1.113730.3.4.12.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------