[Date Prev][Date Next]
Re: ldap_str2dn etc.
>But I'm a bit in trouble with DCE. What's the best source of information
>on it (I mean the best within dn string representation issues)?
I don't have a canonical information source, but it is essentially
an X.500 DN, written from MSB to LSB.
For example, the RFC 1779 DN:
as a "DCE" DN. I called them "DCE" DNs as this format was used by
DCE's Cell Directory Service. Maybe there is a better name.
Also, it would be nice (I just added support for this to my own
little libldap wrapper library) to support Active Directory
canonical names, too. Going from a DN to a canonical name is
easy, the sample example:
Going the other way is a bit tricky to do without talking to
the LDAP server, unless you guess at attribute types. (I don't
know whether LDAP servers would accept a DN like:
I know our NetInfo backend does, but that's just a fortunate
side-effect.) Probably the DN-to-AD-canonical-name mapping
is enough, anyway...
Luke Howard | lukehoward.com
PADL Software | www.padl.com