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

Re: ldap_str2dn etc.



Hi Pierangelo,

I have the DCE directory documentation on CD -- it's about
1000 pages but it would certainly specify the syntax of
DCE DNs. I will try and dig out the relevant information.

I am wondering whether OpenLDAP should provide API based
on the LDAPDN/LDAPRDN types for common operations such
as composing a new DN for an add operation.

On one hand, I like the idea of an opaque "name" type,
on the other hand, it seems a little contrary to the
spirit of LDAP to become more like X.500 :-) 


-- Luke

>From: Pierangelo Masarati <masarati@aero.polimi.it>
>Subject: Re: ldap_str2dn etc.
>To: lukeh@PADL.COM
>Cc: openldap-devel@openldap.org
>Date: Tue, 9 Oct 2001 09:21:14 +0200 (MEST)
>
>> 
>> Actually, I think the simple upshot is that you can forget
>> multi-valued DCE RDNs if it makes it simpler, otherwise use
>> commas.
>
>No problem: I made string parsing dependent on the style that is
>requested (maybe I'll try to add self-detection as well). Special
>tokens like AVA separators are defined by independent macros so
>I can easily use commas instead of plusses.
>
>Thanks for the reference, though.  I'll try to figure out all the
>other specials (e.g. escape char and so).
>
>Pierangelo.

--
Luke Howard | lukehoward.com
PADL Software | www.padl.com