xref: /openbsd/usr.sbin/ldapd/schema/nis.schema (revision 4cfece93)
1######### rfc2307
2
3attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
4	DESC 'An integer uniquely identifying a user in an
5	      administrative domain'
6	EQUALITY integerMatch
7	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
8	SINGLE-VALUE )
9
10attributetype ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
11	DESC 'An integer uniquely identifying a group in an
12	      administrative domain'
13	EQUALITY integerMatch
14	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
15	SINGLE-VALUE )
16
17attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
18	DESC 'The GECOS field; the common name'
19	EQUALITY caseIgnoreIA5Match
20	SUBSTR caseIgnoreIA5SubstringsMatch
21	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
22	SINGLE-VALUE )
23
24attributetype ( 1.3.6.1.1.1.1.3 NAME 'homeDirectory'
25	DESC 'The absolute path to the home directory'
26	EQUALITY caseExactIA5Match
27	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
28	SINGLE-VALUE )
29
30attributetype ( 1.3.6.1.1.1.1.4 NAME 'loginShell'
31	DESC 'The path to the login shell'
32	EQUALITY caseExactIA5Match
33	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
34	SINGLE-VALUE )
35
36attributetype ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
37	EQUALITY integerMatch
38	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
39	SINGLE-VALUE )
40
41attributetype ( 1.3.6.1.1.1.1.6 NAME 'shadowMin'
42	EQUALITY integerMatch
43	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
44	SINGLE-VALUE )
45
46attributetype ( 1.3.6.1.1.1.1.7 NAME 'shadowMax'
47	EQUALITY integerMatch
48	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
49	SINGLE-VALUE )
50
51attributetype ( 1.3.6.1.1.1.1.8 NAME 'shadowWarning'
52	EQUALITY integerMatch
53	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
54	SINGLE-VALUE )
55
56attributetype ( 1.3.6.1.1.1.1.9 NAME 'shadowInactive'
57	EQUALITY integerMatch
58	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
59	SINGLE-VALUE )
60
61attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
62	EQUALITY integerMatch
63	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
64	SINGLE-VALUE )
65
66attributetype ( 1.3.6.1.1.1.1.11 NAME 'shadowFlag'
67	EQUALITY integerMatch
68	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
69	SINGLE-VALUE )
70
71attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
72	EQUALITY caseExactIA5Match
73	SUBSTR caseExactIA5SubstringsMatch
74	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
75
76attributetype ( 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup'
77	EQUALITY caseExactIA5Match
78	SUBSTR caseExactIA5SubstringsMatch
79	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
80
81attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
82	DESC 'Netgroup triple'
83	SYNTAX 1.3.6.1.1.1.0.0 )
84
85attributetype ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
86	EQUALITY integerMatch
87	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
88	SINGLE-VALUE )
89
90attributetype ( 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol'
91	SUP name )
92
93attributetype ( 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
96	SINGLE-VALUE )
97
98attributetype ( 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber'
99	EQUALITY integerMatch
100	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
101	SINGLE-VALUE )
102
103attributetype ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
104	DESC 'IP address as a dotted decimal, eg. 192.168.1.1,
105	      omitting leading zeros'
106	EQUALITY caseIgnoreIA5Match
107	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
108
109attributetype ( 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber'
110	DESC 'IP network as a dotted decimal, eg. 192.168,
111	      omitting leading zeros'
112	EQUALITY caseIgnoreIA5Match
113	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128}
114	SINGLE-VALUE )
115
116attributetype ( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber'
117	DESC 'IP netmask as a dotted decimal, eg. 255.255.255.0,
118	      omitting leading zeros'
119	EQUALITY caseIgnoreIA5Match
120	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128}
121	SINGLE-VALUE )
122
123attributetype ( 1.3.6.1.1.1.1.22 NAME 'macAddress'
124	DESC 'MAC address in maximal, colon separated hex notation,
125	      eg. 00:00:92:90:ee:e2'
126	EQUALITY caseIgnoreIA5Match
127	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
128
129attributetype ( 1.3.6.1.1.1.1.23 NAME 'bootParameter'
130	DESC 'rpc.bootparamd parameter'
131	SYNTAX 1.3.6.1.1.1.0.1 )
132
133attributetype ( 1.3.6.1.1.1.1.24 NAME 'bootFile'
134	DESC 'Boot image name'
135	EQUALITY caseExactIA5Match
136	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
137
138attributetype ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
139	SUP name )
140
141attributetype ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
142	EQUALITY caseExactIA5Match
143	SUBSTR caseExactIA5SubstringsMatch
144	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024}
145	SINGLE-VALUE )
146
147objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount'
148	SUP top
149	AUXILIARY
150	DESC 'Abstraction of an account with POSIX attributes'
151	MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
152	MAY ( userPassword $ loginShell $ gecos $ description ) )
153
154objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount'
155	SUP top
156	AUXILIARY
157	DESC 'Additional attributes for shadow passwords'
158	MUST uid
159	MAY ( userPassword $ shadowLastChange $ shadowMin $ shadowMax $
160		shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $
161		description ) )
162
163objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup'
164	SUP top
165	STRUCTURAL
166	DESC 'Abstraction of a group of accounts'
167	MUST ( cn $ gidNumber )
168	MAY ( userPassword $ memberUid $ description ) )
169
170objectclass ( 1.3.6.1.1.1.2.3 NAME 'ipService'
171	SUP top
172	STRUCTURAL
173	DESC 'Abstraction an Internet Protocol service. Maps an IP port
174	      and protocol (such as tcp or udp) to one or more names; the
175	      distinguished value of the cn attribute denotes the services
176	      canonical name'
177	MUST ( cn $ ipServicePort $ ipServiceProtocol )
178	MAY ( description ) )
179
180objectclass ( 1.3.6.1.1.1.2.4 NAME 'ipProtocol'
181	SUP top
182	STRUCTURAL
183	DESC 'Abstraction of an IP protocol. Maps a protocol number to one
184	      or more names. The distinguished value of the cn attribute
185	      denotes the protocols canonical name'
186	MUST ( cn $ ipProtocolNumber $ description )
187	MAY description )
188
189objectclass ( 1.3.6.1.1.1.2.5 NAME 'oncRpc'
190	SUP top
191	STRUCTURAL
192	DESC 'Abstraction of an Open Network Computing (ONC) [RFC1057]
193	      Remote Procedure Call (RPC) binding. This class maps an
194	      ONC RPC number to a name. The distinguished value of the cn
195	      attribute denotes the RPC services canonical name'
196	MUST ( cn $ oncRpcNumber $ description )
197	MAY description )
198
199objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost'
200	SUP top
201	AUXILIARY
202	DESC 'Abstraction of a host, an IP device. The distinguished value
203	      of the cn attribute denotes the hosts canonical name. Device
204	      SHOULD be used as a structural class'
205	MUST ( cn $ ipHostNumber )
206	MAY ( l $ description $ manager ) )
207
208objectclass ( 1.3.6.1.1.1.2.7 NAME 'ipNetwork'
209	SUP top
210	STRUCTURAL
211	DESC 'Abstraction of a network. The distinguished value of the cn
212	      attribute denotes the networks canonical name'
213	MUST ( cn $ ipNetworkNumber )
214	MAY ( ipNetmaskNumber $ l $ description $ manager ) )
215
216objectclass ( 1.3.6.1.1.1.2.8 NAME 'nisNetgroup'
217	SUP top
218	STRUCTURAL
219	DESC 'Abstraction of a netgroup. May refer to other netgroups'
220	MUST cn
221	MAY ( nisNetgroupTriple $ memberNisNetgroup $ description ) )
222
223objectclass ( 1.3.6.1.1.1.2.09 NAME 'nisMap'
224	SUP top
225	STRUCTURAL
226	DESC 'A generic abstraction of a NIS map'
227	MUST nisMapName
228	MAY description )
229
230objectclass ( 1.3.6.1.1.1.2.10 NAME 'nisObject'
231	SUP top
232	STRUCTURAL
233	DESC 'An entry in a NIS map'
234	MUST ( cn $ nisMapEntry $ nisMapName )
235	MAY description )
236
237objectclass ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device'
238	SUP top
239	AUXILIARY
240	DESC 'A device with a MAC address; device SHOULD be used as a
241	      structural class'
242	MAY macAddress )
243
244objectclass ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice'
245	SUP top
246	AUXILIARY
247	DESC 'A device with boot parameters; device SHOULD be used as a
248	      structural class'
249	MAY ( bootFile $ bootParameter ) )
250
251