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

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