]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/inetorgperson.schema
Updated for schemas.
[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 '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 '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 'preferred name of a person to be used when displaying entries'
46         EQUALITY caseIgnoreMatch
47         SUBSTR caseIgnoreSubstringsMatch
48         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
49         SINGLE-VALUE )
50
51 # employeeNumber
52 # Numeric or alphanumeric identifier assigned to a person, typically based
53 # on order of hire or association with an organization.  Single valued.
54 attributetype ( 2.16.840.1.113730.3.1.3
55         NAME 'employeeNumber'
56         DESC 'numerically identifies an employee within an organization'
57         EQUALITY caseIgnoreMatch
58         SUBSTR caseIgnoreSubstringsMatch
59         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
60         SINGLE-VALUE )
61
62 # employeeType
63 # Used to identify the employer to employee relationship.  Typical values
64 # used will be "Contractor", "Employee", "Intern", "Temp", "External", and
65 # "Unknown" but any value may be used.
66 attributetype ( 2.16.840.1.113730.3.1.4
67         NAME 'employeeType'
68         DESC 'type of employment for a person'
69         EQUALITY caseIgnoreMatch
70         SUBSTR caseIgnoreSubstringsMatch
71         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
72
73 # jpegPhoto
74 # Used to store one or more images of a person using the JPEG File
75 # Interchange Format [JFIF].
76 # Note that the jpegPhoto attribute type was defined for use in the
77 # Internet X.500 pilots but no referencable definition for it could be
78 # located.    
79 attributetype ( 0.9.2342.19200300.100.1.60
80         NAME 'jpegPhoto'
81         DESC 'a JPEG image'
82         SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
83         
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
93 attributetype ( 2.16.840.1.113730.3.1.39
94         NAME 'preferredLanguage'
95         DESC 'preferred written or spoken language for a person'
96         EQUALITY caseIgnoreMatch
97         SUBSTR caseIgnoreSubstringsMatch
98         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
99         SINGLE-VALUE )
100
101 # userSMIMECertificate
102 # A PKCS#7 [RFC2315] SignedData, where the content that is signed is
103 # ignored by consumers of userSMIMECertificate values.  It is
104 # recommended that values have a `contentType' of data with an absent
105 # `content' field.  Values of this attribute contain a person's entire
106 # certificate chain and an smimeCapabilities field [RFC2633] that at a
107 # minimum describes their SMIME algorithm capabilities.  Values for
108 # this attribute are to be stored and requested in binary form, as
109 # 'userSMIMECertificate;binary'.  If available, this attribute is
110 # preferred over the userCertificate attribute for S/MIME applications.
111
112 attributetype ( 2.16.840.1.113730.3.1.40
113         NAME 'userSMIMECertificate'
114         DESC 'PKCS#7 SignedData used to support S/MIME'
115         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
116
117 # userPKCS12
118 # PKCS #12 [PKCS12] provides a format for exchange of personal identity
119 # information.  When such information is stored in a directory service,
120 # the userPKCS12 attribute should be used. This attribute is to be stored
121 # and requested in binary form, as 'userPKCS12;binary'.  The attribute
122 # values are PFX PDUs stored as binary data.
123 attributetype ( 2.16.840.1.113730.3.1.216
124         NAME 'userPKCS12'
125         DESC 'PKCS #12 PFX PDU for exchange of personal identity information'
126         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
127
128
129 # inetOrgPerson
130 # The inetOrgPerson represents people who are associated with an
131 # organization in some way.  It is a structural class and is derived
132 # from the organizationalPerson class which is defined in X.521 [X521].
133 objectclass     ( 2.16.840.1.113730.3.2.2
134     NAME 'inetOrgPerson'
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         ) )