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