[LDAP-interop] syntax object identifiers(which one to use with
which)
jay alvarez
ldapb0y at yahoo.com
Thu Aug 4 23:38:42 EDT 2005
Hi,
I'm about to create a custom schema that would fit
our company's needs but I got a little bit confused
with these things. I hope you can help enlighten me a
little bit.
First, looking at the Attribute Type Description
syntax, in rfc 2252, I can see some wordings that were
not explained in detail such as:
OBSOLETE -> what is the purpose of this?
SUP -> definitions says: "derived from this other",
Do you know what this custom attribute will derived
from this SUP value?
The SUP in object class specification says that it is:
"The name of an object class from which this object
class inherits all mandatory and optional attributes"
Can I speficy more than one SUP value in objectclass
so that I can inherit more mandatory and optional
attributes?
SYNTAX: rfc 2252 says it ca be in the form:
noidlen = numericoid [ "{" len "}" ]
where
len = numericstring
The table for this in rfc 2252 has a lot of syntax,
and I'm a little bit confused which one to use and
with which. For example, I'm trying to create a
'middlename' attribute and I already have this so far:
attributeType ( astiAttr:1 NAME 'middleName'
DESC 'Person's middle name'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.
The only thing left is the last number part in the end
of the SYNTAX line. I'm thinking that I should use
some sort of syntax that has something to do with
string, a string that consist of pure alphabet chars,
but looking back at the table, I found a lot of syntax
that has something to do with "strings"
Bit String
Country String
Directory String(they say this one uses UTF-8
encoding)
IA5 String
Numeric String
Octet String
Please don't bother defining each, just let me know if
they were all defined somewhere, perhaps in other
RFCs. How about other attributes I would like to
create that has mixed letters, numbers, and other
characters such as, propertyNumber like this:
"P-113 TO", which one should I use?
That's all, for now. For my above example(middlename)
i just used the syntax "directory string" and it
worked. But I want to know exactly how it did using
that syntax.
Thanks!!
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
LDAP-interop mailing list
LDAP-interop at fini.net
http://lists.fini.net/mailman/listinfo/ldap-interop
More information about the LDAP-interop
mailing list