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

RE: commit: ldap/libraries/libldap getdn.c



The sad thing is I wrote that comment in aci_match_set but never correctly
terminated the string! I guess not many people are using ACI. (I have it
configured but I haven't exercised it at all.) I'm going to remove that
little snippet now.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Pierangelo
> Masarati
> Sent: Wednesday, February 13, 2002 2:54 AM
> To: OpenLDAP Commit
> Subject: Re: commit: ldap/libraries/libldap getdn.c
>
>
> ando@OpenLDAP.org wrote:
> >
> > Update of /repo/OpenLDAP/pkg/ldap/libraries/libldap
> >
> > Modified Files:
> >         getdn.c  1.87 -> 1.88
> >
> > Log Message:
> > use ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers
>
> Now the ber-valued functions can be used when a __binary__
> dn is expected; still need to check a couple of features
> (see the remark in aci_match_set).
>
> It correctly parses a dn like
>
> 	'cn=A' + '\0' + 'ndo,o=org'
>
> creating a LDAPDN that thru ldap_dn2str returns
>
> 	'cn=A\00ndo,o=org'
>
> Please test.
>
> Ando
>
> --
> Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
> Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
> Politecnico di Milano                 |
> mailto:pierangelo.masarati@polimi.it
> via La Masa 34, 20156 Milano, Italy   |
> http://www.aero.polimi.it/~masarati