]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/nis.schema
Clean up 'ref' DESC
[openldap] / servers / slapd / schema / nis.schema
1 # $OpenLDAP$
2 # Definitions from RFC2307
3
4 # Note: The definitions in RFC2307 are given in syntaxes closely related
5 # to those in RFC2252, however, some liberties are taken that are not
6 # supported by RFC2252.  This file has been written following RFC2252
7 # strictly.
8
9 # OID Base is iso(1) org(3) dod(6) internet(1) directory(1) nisSchema(1).
10 # i.e. nisSchema in RFC2307 is 1.3.6.1.1.1
11 #
12 # Syntaxes are under 1.3.6.1.1.1.0 (two new syntaxes are defined)
13 # Attribute types are under 1.3.6.1.1.1.1
14 # Object classes are under 1.3.6.1.1.1.2
15
16 # Attribute Type Definitions
17
18 attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
19         DESC 'An integer uniquely identifying a user in an administrative domain'
20         EQUALITY integerMatch
21         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
22
23 attributetype ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
24         DESC 'An integer uniquely identifying a group in an administrative domain'
25         EQUALITY integerMatch
26         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
27
28 attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
29         DESC 'The GECOS field; the common name'
30         EQUALITY caseIgnoreIA5Match
31         SUBSTRINGS caseIgnoreIA5SubstringsMatch
32         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
33
34 attributetype ( 1.3.6.1.1.1.1.3 NAME 'homeDirectory'
35         DESC 'The absolute path to the home directory'
36         EQUALITY caseExactIA5Match
37         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
38
39 attributetype ( 1.3.6.1.1.1.1.4 NAME 'loginShell'
40         DESC 'The path to the login shell'
41         EQUALITY caseExactIA5Match
42         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
43
44 attributetype ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
45         EQUALITY integerMatch
46         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
47
48 attributetype ( 1.3.6.1.1.1.1.6 NAME 'shadowMin'
49         EQUALITY integerMatch
50         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
51
52 attributetype ( 1.3.6.1.1.1.1.7 NAME 'shadowMax'
53         EQUALITY integerMatch
54         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
55
56 attributetype ( 1.3.6.1.1.1.1.8 NAME 'shadowWarning'
57         EQUALITY integerMatch
58         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
59
60 attributetype ( 1.3.6.1.1.1.1.9 NAME 'shadowInactive'
61         EQUALITY integerMatch
62         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
63
64 attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
65         EQUALITY integerMatch
66         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
67
68 attributetype ( 1.3.6.1.1.1.1.11 NAME 'shadowFlag'
69         EQUALITY integerMatch
70         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
71
72 attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
73         EQUALITY caseExactIA5Match
74         SUBSTRINGS caseExactIA5SubstringsMatch
75         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
76
77 attributetype ( 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup'
78         EQUALITY caseExactIA5Match
79         SUBSTRINGS caseExactIA5SubstringsMatch
80         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
81
82 attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
83         DESC 'Netgroup triple'
84         SYNTAX 1.3.6.1.1.1.0.0 )
85
86 attributetype ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
87         EQUALITY integerMatch
88         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
89
90 attributetype ( 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol'
91         SUP name )
92
93 attributetype ( 1.3.6.1.1.1.1.17 NAME 'ipProtocolNumber'
94         EQUALITY integerMatch
95         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
96
97 attributetype ( 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber'
98         EQUALITY integerMatch
99         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
100
101 attributetype ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
102         DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros'
103         EQUALITY caseIgnoreIA5Match
104         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
105
106 attributetype ( 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber'
107         DESC 'IP network as a dotted decimal, eg. 192.168, omitting leading zeros'
108         EQUALITY caseIgnoreIA5Match
109         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE )
110
111 attributetype ( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber'
112         DESC 'IP netmask as a dotted decimal, eg. 255.255.255.0, omitting leading zeros'
113         EQUALITY caseIgnoreIA5Match
114         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE )
115
116 attributetype ( 1.3.6.1.1.1.1.22 NAME 'macAddress'
117         DESC 'MAC address in maximal, colon separated hex notation, eg. 00:00:92:90:ee:e2'
118         EQUALITY caseIgnoreIA5Match
119         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
120
121 attributetype ( 1.3.6.1.1.1.1.23 NAME 'bootParameter'
122         DESC 'rpc.bootparamd parameter'
123         SYNTAX 1.3.6.1.1.1.0.1 )
124
125 attributetype ( 1.3.6.1.1.1.1.24 NAME 'bootFile'
126         DESC 'Boot image name'
127         EQUALITY caseExactIA5Match
128         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
129
130 attributetype ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
131         SUP name )
132
133 attributetype ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
134         EQUALITY caseExactIA5Match
135         SUBSTR caseExactIA5SubstringsMatch
136         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} SINGLE-VALUE )
137
138 # Object Class Definitions
139
140 objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
141         DESC 'Abstraction of an account with POSIX attributes'
142         MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
143         MAY ( userPassword $ loginShell $ gecos $ description ) )
144
145 objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
146         DESC 'Additional attributes for shadow passwords'
147         MUST uid
148         MAY ( userPassword $ shadowLastChange $ shadowMin $
149               shadowMax $ shadowWarning $ shadowInactive $
150               shadowExpire $ shadowFlag $ description ) )
151
152 objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top STRUCTURAL
153         DESC 'Abstraction of a group of accounts'
154         MUST ( cn $ gidNumber )
155         MAY ( userPassword $ memberUid $ description ) )
156
157 objectclass ( 1.3.6.1.1.1.2.3 NAME 'ipService' SUP top STRUCTURAL
158         DESC 'Abstraction an Internet Protocol service.
159               Maps an IP port and protocol (such as tcp or udp)
160               to one or more names; the distinguished value of
161               the cn attribute denotes the service"s canonical
162               name'
163         MUST ( cn $ ipServicePort $ ipServiceProtocol )
164         MAY ( description ) )
165
166 objectclass ( 1.3.6.1.1.1.2.4 NAME 'ipProtocol' SUP top STRUCTURAL
167         DESC 'Abstraction of an IP protocol. Maps a protocol number
168               to one or more names. The distinguished value of the cn
169               attribute denotes the protocol"s canonical name'
170         MUST ( cn $ ipProtocolNumber $ description )
171         MAY description )
172
173 objectclass ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
174         DESC 'Abstraction of an Open Network Computing (ONC)
175               [RFC1057] Remote Procedure Call (RPC) binding.
176               This class maps an ONC RPC number to a name.
177               The distinguished value of the cn attribute denotes
178               the RPC service"s canonical name'
179         MUST ( cn $ oncRpcNumber $ description )
180         MAY description )
181
182 objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
183         DESC 'Abstraction of a host, an IP device. The distinguished
184               value of the cn attribute denotes the host"s canonical
185               name. Device SHOULD be used as a structural class'
186         MUST ( cn $ ipHostNumber )
187         MAY ( l $ description $ manager ) )
188
189 objectclass ( 1.3.6.1.1.1.2.7 NAME 'ipNetwork' SUP top STRUCTURAL
190         DESC 'Abstraction of a network. The distinguished value of
191               the cn attribute denotes the network"s canonical name'
192         MUST ( cn $ ipNetworkNumber )
193         MAY ( ipNetmaskNumber $ l $ description $ manager ) )
194
195 objectclass ( 1.3.6.1.1.1.2.8 NAME 'nisNetgroup' SUP top STRUCTURAL
196         DESC 'Abstraction of a netgroup. May refer to other netgroups'
197         MUST cn
198         MAY ( nisNetgroupTriple $ memberNisNetgroup $ description ) )
199
200 objectclass ( 1.3.6.1.1.1.2.9 NAME 'nisMap' SUP top STRUCTURAL
201         DESC 'A generic abstraction of a NIS map'
202         MUST nisMapName
203         MAY description )
204
205 objectclass ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
206         DESC 'An entry in a NIS map'
207         MUST ( cn $ nisMapEntry $ nisMapName )
208         MAY description )
209
210 objectclass ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
211         DESC 'A device with a MAC address; device SHOULD be
212               used as a structural class'
213         MAY macAddress )
214
215 objectclass ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
216         DESC 'A device with boot parameters; device SHOULD be
217               used as a structural class'
218         MAY ( bootFile $ bootParameter ) )