]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/inetorgperson.schema
ce915289f8e13b007ea1e366f2f6044aa150f067
[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 of a person to be used 
43                 when displaying entries'
44         EQUALITY caseIgnoreMatch
45         SUBSTR caseIgnoreSubstringsMatch
46         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
47         SINGLE-VALUE )
48
49 # employeeNumber
50 # Numeric or alphanumeric identifier assigned to a person, typically based
51 # on order of hire or association with an organization.  Single valued.
52 attributetype ( 2.16.840.1.113730.3.1.3
53         NAME 'employeeNumber'
54         DESC 'RFC2798: numerically identifies an employee within an organization'
55         EQUALITY caseIgnoreMatch
56         SUBSTR caseIgnoreSubstringsMatch
57         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
58         SINGLE-VALUE )
59
60 # employeeType
61 # Used to identify the employer to employee relationship.  Typical values
62 # used will be "Contractor", "Employee", "Intern", "Temp", "External", and
63 # "Unknown" but any value may be used.
64 attributetype ( 2.16.840.1.113730.3.1.4
65         NAME 'employeeType'
66         DESC 'RFC2798: type of employment for a person'
67         EQUALITY caseIgnoreMatch
68         SUBSTR caseIgnoreSubstringsMatch
69         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
70
71 # jpegPhoto
72 # Used to store one or more images of a person using the JPEG File
73 # Interchange Format [JFIF].
74 # Note that the jpegPhoto attribute type was defined for use in the
75 # Internet X.500 pilots but no referencable definition for it could be
76 # located.    
77 attributetype ( 0.9.2342.19200300.100.1.60
78         NAME 'jpegPhoto'
79         DESC 'a JPEG image'
80         SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
81
82 # preferredLanguage
83 # Used to indicate an individual's preferred written or spoken
84 # language.  This is useful for international correspondence or human-
85 # computer interaction.  Values for this attribute type MUST conform to
86 # the definition of the Accept-Language header field defined in
87 # [RFC2068] with one exception:  the sequence "Accept-Language" ":"
88 # should be omitted.  This is a single valued attribute type.
89 attributetype ( 2.16.840.1.113730.3.1.39
90         NAME 'preferredLanguage'
91         DESC 'RFC2798: preferred written or spoken language for a person'
92         EQUALITY caseIgnoreMatch
93         SUBSTR caseIgnoreSubstringsMatch
94         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
95         SINGLE-VALUE )
96
97 # userSMIMECertificate
98 # A PKCS#7 [RFC2315] SignedData, where the content that is signed is
99 # ignored by consumers of userSMIMECertificate values.  It is
100 # recommended that values have a `contentType' of data with an absent
101 # `content' field.  Values of this attribute contain a person's entire
102 # certificate chain and an smimeCapabilities field [RFC2633] that at a
103 # minimum describes their SMIME algorithm capabilities.  Values for
104 # this attribute are to be stored and requested in binary form, as
105 # 'userSMIMECertificate;binary'.  If available, this attribute is
106 # preferred over the userCertificate attribute for S/MIME applications.
107 ## OpenLDAP note: ";binary" transfer should NOT be used as syntax is binary
108 attributetype ( 2.16.840.1.113730.3.1.40
109         NAME 'userSMIMECertificate'
110         DESC 'RFC2798: PKCS#7 SignedData used to support S/MIME'
111         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
112
113 # userPKCS12
114 # PKCS #12 [PKCS12] provides a format for exchange of personal identity
115 # information.  When such information is stored in a directory service,
116 # the userPKCS12 attribute should be used. This attribute is to be stored
117 # and requested in binary form, as 'userPKCS12;binary'.  The attribute
118 # values are PFX PDUs stored as binary data.
119 ## OpenLDAP note: ";binary" transfer should NOT be used as syntax is binary
120 attributetype ( 2.16.840.1.113730.3.1.216
121         NAME 'userPKCS12'
122         DESC 'RFC2798: PKCS #12 PFX PDU for exchange of 
123                 personal identity information'
124         SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
125
126
127 # inetOrgPerson
128 # The inetOrgPerson represents people who are associated with an
129 # organization in some way.  It is a structural class and is derived
130 # from the organizationalPerson which is defined in X.521 [X521].
131 objectclass     ( 2.16.840.1.113730.3.2.2
132     NAME 'inetOrgPerson'
133         DESC 'RFC2798: Internet Organizational Person'
134     SUP organizationalPerson
135     STRUCTURAL
136         MAY (
137                 audio $ businessCategory $ carLicense $ departmentNumber $
138                 displayName $ employeeNumber $ employeeType $ givenName $
139                 homePhone $ homePostalAddress $ initials $ jpegPhoto $
140                 labeledURI $ mail $ manager $ mobile $ o $ pager $
141                 photo $ roomNumber $ secretary $ uid $ userCertificate $
142                 x500uniqueIdentifier $ preferredLanguage $
143                 userSMIMECertificate $ userPKCS12 )
144         )