[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference forty2::x500

Title:X.500 Directory Services
Notice:Sprt: FORTY2::X500_SUPPORT, Kits: 216.*, try dir/titl=OFFICIAL
Moderator:FORTY2::PULLEN
Created:Tue Jan 30 1990
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1016
Total number of notes:4299

1000.0. "Modify the RFC822 attribute" by VMSNET::R_HARRIS () Mon Apr 28 1997 23:05

    Hello,
    
    I have a customer that would like to change the RFC822 attribute to
    another
    name. This request is due to their internal organization naming
    structure.
    
    Can this be done? I am sure it can, where can I find out how?
    
    Thanks in advance for your support.
    
    Randy
T.RTitleUserPersonal
Name
DateLines
1000.1FORTY2::PULLENJulian PullenTue Apr 29 1997 12:5717
Randy,

    You can change the name of an attribute by editing
    and compiling the schema files. An attribute has a
    formal name a set of keyword and a description. The
    formal name is always added to the set of keywords.

    Attributes are specified by using a keywords. DXIM
    displays an attribute using the description. LDAP
    returns an attribute using the formal name.

    With X.500 V3.* on UNIX if you change the schema
    you need go via a snapshot file
	ncl> delete dsa to snapshot
	ncl> create dsa from snapshot

   Julian   
1000.2FORTY2::PALKATue Apr 29 1997 13:1715
    It might be best to add a new name, rather than renaming it entirely.
    This would be less likely to break other programs.
    
    The name of an attribute is not very significant, it is mainly used by
    our user interfaces (dxim and infobroker). Other applications dont know
    how to read our schema files, so have to do their own OID to name
    translations. It might be possible to use a different customised schema
    for each application/user/system to get different translations for
    different environments.
    
    If you are using AltaVista Directory then you can't change the schema.
    However V1.0A will accept the alternative name 'mail' for
    rfc822mailbox, to allow working with Netscape and Internet mail.
    
    Andrew
1000.3more information VMSNET::R_HARRISWed Apr 30 1997 21:3535
    re: .1 & .2
    
    Thank you for the responses to my question. Unfortnately, I did not
    understand the customer's question/problem. 
    

Randy;

Let me restate my problem:

I built my X.500 using the attribute rfc822Mailbox to contain an 
individuals "internet" email address.

It seems that with the rapid expansion of LDAP to access X.500, the 
attribute "email" is being used quite widely for Internet addresses.

A number of LDAP browsers that I have seen depend on the email 
attribute.

So, my choices to allow wide successful interaction of my X.500 with 
LDAP browsers seem to be:

- change my X.500 to use an "email" attribute for internet addresses

- duplicate the internet address in both rfc822Mailbox and email (not 
good)

- Somehow have the X.500 treat the attributes email and rfc822Mailbox 
as equivalent in the sameway X.500 treats "cn" and commonName.  So that 
information is stored in a single place.


The third option is the one I am interested in having you respond to.  


1000.4a-105.tunnel.crl.dec.com::FORTY2::PALKAAndrew Palka Altavista DirectoryThu May 01 1997 10:3638
The name of the attribute is just a name. An attribute can have
many names, and can be called different things by different clients.
The DSA does not use the name - it uses the OID which is a unique
tag which is associated with the attribute.

The name has to be translated to an OID by anything accessing the
directory. In the case of the digital clients (including infobroker)
this translation is done using a schema file. Our schema file
format allows multiple names for an attribute, using the LABEL
clause. This is how cn and commonname are dealt with.

However, only one of these names is used for the reverse translation
(either the first or last in the list). So, with infobroker I think
an application can ask for an attribute by any name, but will get
it returned using the 'standard' name (It might be clever enough
to remember what the name the client prefers, but I dont think so). 

There is no reason why you could not use schema files with a
different ordering to the attribute names for different applications.
So your standard schema file could use the attribute name 
'rfc822mailbox', while the schema file used by infobroker could use
'email' (or 'mail', which is what netscape and internet explorer
use).

You could even have different infobroker servers with different
name translation tables so that different applications can use
different attribute names (for the same data).

AltaVista directory remembers the name the client asked for, so
any client that asks for specific attributes will get back what
it expects. If a client asks for 'all attributes' then it gets
them back with the standard name.

Some clients ask for an attribute using several different names.
That way they will get the data no matter what name the server
knows it as.

Andrew