Re: Address Book generation of dn field.

Mickaël Guessant <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Mark Banner a écrit :
> Sorry for not getting back to this thread earlier.
> 
> Honza T_ wrote:
>> I think there is only RFC1779 http://www.faqs.org/rfcs/rfc1779.html
>> And no standard for choosing attributes in DNs.
> 
> Well, that RFC is a useful basis.
> 
>> It depends on what do you want to do with DNs ?
> 
> With the LDAP parts of the Address Books in SeaMonkey and Thunderbird I
> have been looking at the various decisions that need to be made to get
> writing to ldap servers working. As part of this, for new cards, we need
> to be able to set up the DN with something reasonable. We can use the
> baseDN to form the basis of the DN, but we'd need something for the rest
> of it. So as you suggest, maybe the best solution is to make it
> configurable behind the scenes (or advanced) and allow the user to
> select a subset of fields, e.g. cn and email or location.
> 
> Thanks to everyone for the input so far.
> 
> Standard8

As stated by others, there is no standard DIT for users in enterprise
directories, the best way is to make it flexible. I would suggest using
the same way as Sun Identity Manager : an identity template or rule.
We would have :
- simple configuration : choose rdn attribute and suffix (two fields)
- template based : uid=$uid,ou=$orgunit,dc=company,dc=com
- "rule" based : maybe a javascript function ?

Just my two cents :-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.