[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
More on composite rdns ...
In ldap_dn2ufn there's no handling of composite RDNs
type=value[+type=value]
and there's no mention of its conversion neither in rfc1781
(too old) or in rfc 2253 (maybe ufn was not an issue).
I modified ldap_dn2ufn to handle such case. The behavior
is very simple:
- attributes are still stripped off
(including those of composite rdns)
- rdns are still separated by commas
- values withing a rnd are separated by ' + '.
Example:
# Pierangelo Masarati + ando, mbdyn, org
dn: cn=Pierangelo Masarati+uid=ando,dc=mbdyn,dc=org
I'll commit this change if nobody disagrees; suggestions for
better separators are welcome, however.
Pierangelo.
--
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati