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

Re: bug in 1.2.12 dn_normalize() from servers/slapd/dn.c ? (ITS#1154)



At 02:05 AM 5/21/01, h.nardmann@secunet.de wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Saturday 19 May 2001 02:46, you wrote:
>> OpenLDAP 1.2 only supports naming with case ignore
>> equality matching.
>
>Oh, I was not focusing on the upper or lower case things but on the first 
>semicolon being replaced by a comma but not the second one.

I would call that a bug.  1.2 should normalize to commas.


>Is this normal?
>
>> >
>> >I used the following DName for my tests:
>> >
>> >nr=204;hash="M6EZIdPn+dN/fKPZS8uMRqUl3F4=";name=ABC
>> >
>> >Then I tested dn_normalize and dn_normalize_case.
>> >
>> >Here is the result of dn_normalize:
>> >
>> >nr=204,hash="M6EZIdPn+dN/fKPZS8uMRqUl3F4=";name=ABC
>> >
>> >Here is the result of dn_normalize_case:
>> >
>> >NR=204,HASH="M6EZIDPN+DN/FKPZS8UMRQUL3F4=";NAME=ABC
>> >
>> >In my opinion this should be:
>> >
>> >nr=204,hash="M6EZIdPn+dN/fKPZS8uMRqUl3F4=",name=ABC
>> >
>> >resp.
>> >
>> >NR=204,HASH="M6EZIDPN+DN/FKPZS8UMRQUL3F4=",NAME=ABC
>> >
>
>- -- 
>Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
>secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
>Weidenauer Str. 223-225, D-57076 Siegen
>Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.4 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE7CNpXpm53PRScYygRAqOEAJ0YV/tx199V5NL/UMq+yXvZ1QLOqQCfXFVl
>d8ixrQaCt0alL4K5rgPzot8=
>=+rDN
>-----END PGP SIGNATURE-----