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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2020.0. "DCE CDS global entites and MCC datatypes" by MICROW::LANG () Thu Jan 02 1992 16:46

	I am writing an AM with will be used with DCE CDS.  We are
	not making use of DNS. We are implementing on BSD Ultrix.

	We are using DCE RPC, and have a number of attributes which
	relate to global entities in CDS.  I'm wondering if these attributes
	should be of type FULLNAME or LATIN1STRING.  They are global
	and are directory names, but have the ultrix directory syntax.

	Because of the ultrix directory syntax, I need to be able to
	enter the '/'.  I tried doing this with a FULLNAME in the internal 
	field test kit of MCC 1.2, and couldn't.

	It seems like the 'correct' datatype for a CDS global entity
	would be FULLNAME.  

	Soo... my questions are:

	1. Will fullname work with the '/' character ?
	2. Recommendations on naming CDS global entites in MCC.
	3. If this is not known, who can I contact to find out these answers?

		thanks,
				Bonnie

T.RTitleUserPersonal
Name
DateLines
2020.1why not filenameTOOK::CALLANDERMCC = My Constant CompanionFri Jan 03 1992 14:007
    why aren't you using filename if that is what it is?
    
    as to fullname support of '/' you would have to ask the DNS folks,
    hopefully some one else can answer that one.
    
    jill
    
2020.2Use Quoted Simplename in building a FullnameTRM::KWAKFri Jan 03 1992 15:347
    
    '/' is not a valid character in Simplename.
    However, you can us '/' in a Quoted Simplename.
    
    For example, .world.site1."/foo/bar" is a valid Fullname.
    
    William
2020.3Should define a new primitive type, but...BLUMON::SYLORArchitect = Buzzword GeneratorMon Jan 06 1992 11:5815
A CDS "fullname" is much more than a character string. It's really 
a whole new primitive data type. You'll need to for example translate
RDNs into the appropriate OID and value (for example /C=US/O=DEC/ etc...).

The "right" answer is to get a new primitive data type added to EMA,
but since the directors (MCC and NCL) have made that hard to do, you've got 
a real problem...

A "hack" answer is to use the data type FileSpec (that at least can encode any
legal CDS name syntax), the only problem is that the translation from
"external" to"internal" representation would be done in the entity,
not in the director. Formally, that violates the rules of CDS (or DNS) but
I don't think you have a choice there.

Mark