]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/inetorgperson.schema
Clarify comment.
[openldap] / servers / slapd / schema / inetorgperson.schema
1 # $OpenLDAP$
2 #
3 # InetOrgPerson (RFC2798)
4 #
5 # Depends upon
6 #   Definition of an X.500 Attribute Type and an Object Class to Hold
7 #   Uniform Resource Identifiers (URIs) [RFC2079]
8 #       (core.schema)
9 #
10 #   A Summary of the X.500(96) User Schema for use with LDAPv3 [RFC2256]
11 #       (core.schema)
12 #
13 #   The COSINE and Internet X.500 Schema [RFC1274] (cosine.schema)
14
15 # carLicense
16 # This multivalued field is used to record the values of the license or
17 # registration plate associated with an individual.
18 attributetype ( 2.16.840.1.113730.3.1.1
19         NAME 'carLicense'
20         DESC 'RFC2798: vehicle license or registration plate'
21         EQUALITY caseIgnoreMatch
22         SUBSTR caseIgnoreSubstringsMatch
23         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
24
25 # departmentNumber
26 # Code for department to which a person belongs.  This can also be
27 # strictly numeric (e.g., 1234) or alphanumeric (e.g., ABC/123).
28 attributetype ( 2.16.840.1.113730.3.1.2
29         NAME 'departmentNumber'
30         DESC 'RFC2798: identifies a department within an organization'
31         EQUALITY caseIgnoreMatch
32         SUBSTR caseIgnoreSubstringsMatch
33         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
34
35 # displayName
36 # When displaying an entry, especially within a one-line summary list, it
37 # is useful to be able to identify a name to be used.  Since other attri-
38 # bute types such as 'cn' are multivalued, an additional attribute type is
39 # needed.  Display name is defined for this purpose.
40 attributetype ( 2.16.840.1.113730.3.1.241
41         NAME 'displayName'
42         DESC 'RFC2798: preferred name to be used when displaying entries'
43         EQUALITY caseIgnoreMatch
44         SUBSTR caseIgnoreSubstringsMatch
45         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
46         SINGLE-VALUE )
47
48 # employeeNumber
49 # Numeric or alphanumeric identifier assigned to a person, typically based
50 # on order of hire or association with an organization.  Single valued.
51 attributetype ( 2.16.840.1.113730.3.1.3
52         NAME 'employeeNumber'
53         DESC 'RFC2798: numerically identifies an employee within an organization'
54         EQUALITY caseIgnoreMatch
55         SUBSTR caseIgnoreSubstringsMatch
56         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
57         SINGLE-VALUE )
58
59 # employeeType
60 # Used to identify the employer to employee relationship.  Typical values
61 # used will be "Contractor", "Employee", "Intern", "Temp", "External", and
62 # "Unknown" but any value may be used.
63 attributetype ( 2.16.840.1.113730.3.1.4
64         NAME 'employeeType'
65         DESC 'RFC2798: type of employment for a person'
66         EQUALITY caseIgnoreMatch
67         SUBSTR caseIgnoreSubstringsMatch
68         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
69
70 # jpegPhoto
71 # Used to store one or more images of a person using the JPEG File
72 # Interchange Format [JFIF].
73 # Note that the jpegPhoto attribute type was defined for use in the
74 # Internet X.500 pilots but no referencable definition for it could be
75 # located.
76 attributetype ( 0.9.2342.19200300.100.1.60
77         NAME 'jpegPhoto'
78         DESC 'RFC2798: a JPEG image'
79         SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
80
81 # preferredLanguage
82 # Used to indicate an individual's preferred written or spoken
83 # language.  This is useful for international correspondence or human-
84 # computer interaction.  Values for this attribute type MUST conform to
85 # the definition of the Accept-Language header field defined in
86 # [RFC2068] with one exception:  the sequence "Accept-Language" ":"
87 # should be omitted.  This is a single valued attribute type.
88 attributetype ( 2.16.840.1.113730.3.1.39
89         NAME 'preferredLanguage'
90         DESC 'RFC2798: preferred written or spoken language for a person'
91         EQUALITY caseIgnoreMatch
92         SUBSTR caseIgnoreSubstringsMatch
93         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
94         SINGLE-VALUE )
95
96 # userSMIMECertificate
97 # A PKCS#7 [RFC2315] SignedData, where the content that is signed is
98 # ignored by consumers of userSMIMECertificate values.  It is
99 # recommended that values have a `contentType' of data with an absent
100 # `content' field.  Values of this attribute contain a person's entire
101 # certificate chain and an smimeCapabilities field [RFC2633] that at a
102 # minimum describes their SMIME algorithm capabilities.  Values for
103 # this attribute are to be stored and requested in binary form, as
104 # 'userSMIMECertificate;binary'.  If available, this attribute is
105 # preferred over the userCertificate attribute for S/MIME applications.
106 ## OpenLDAP note: ";binary" transfer should NOT be used as syntax is binary
107 attributetype ( 2.16.840.1.113730.3.1.40
108         NAME 'userSMIMECertificate'
109         DESC 'RFC2798: PKCS#7 SignedData used to support S/MIME'
110         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
111
112 # userPKCS12
113 # PKCS #12 [PKCS12] provides a format for exchange of personal identity
114 # information.  When such information is stored in a directory service,
115 # the userPKCS12 attribute should be used. This attribute is to be stored
116 # and requested in binary form, as 'userPKCS12;binary'.  The attribute
117 # values are PFX PDUs stored as binary data.
118 ## OpenLDAP note: ";binary" transfer should NOT be used as syntax is binary
119 attributetype ( 2.16.840.1.113730.3.1.216
120         NAME 'userPKCS12'
121         DESC 'RFC2798: personal identity information, a PKCS #12 PFX'
122         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
123
124
125 # inetOrgPerson
126 # The inetOrgPerson represents people who are associated with an
127 # organization in some way.  It is a structural class and is derived
128 # from the organizationalPerson which is defined in X.521 [X521].
129 objectclass     ( 2.16.840.1.113730.3.2.2
130     NAME 'inetOrgPerson'
131         DESC 'RFC2798: Internet Organizational Person'
132     SUP organizationalPerson
133     STRUCTURAL
134         MAY (
135                 audio $ businessCategory $ carLicense $ departmentNumber $
136                 displayName $ employeeNumber $ employeeType $ givenName $
137                 homePhone $ homePostalAddress $ initials $ jpegPhoto $
138                 labeledURI $ mail $ manager $ mobile $ o $ pager $
139                 photo $ roomNumber $ secretary $ uid $ userCertificate $
140                 x500uniqueIdentifier $ preferredLanguage $
141                 userSMIMECertificate $ userPKCS12 )
142         )